Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 01da564

Browse files
1
1 parent f057e25 commit 01da564

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

‎src/main/kotlin/p30xx/Problem3021.kt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package p30xx
2+
3+
import util.expect
4+
5+
fun main() {
6+
class Solution {
7+
fun flowerGame(n: Int, m: Int): Long {
8+
return n.toLong() * m / 2
9+
}
10+
}
11+
12+
expect {
13+
Solution().flowerGame(
14+
1, 2
15+
)
16+
}
17+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /