7 lines
86 B
Plaintext
Raw Normal View History

2024-06-16 14:57:33 +00:00
main() {
2024-07-28 16:47:13 +00:00
assert f(2, 3) == 25
2024-06-29 22:17:14 +00:00
}
2024-08-05 16:47:24 +00:00
f(x Int, y Int) -> Int {
2024-06-29 22:17:14 +00:00
return (x + y) * (x + y)
2024-06-16 14:57:33 +00:00
}