結果
問題 | No.56 消費税 |
ユーザー |
|
提出日時 | 2019-01-19 16:25:41 |
言語 | Kotlin (2.1.0) |
結果 |
AC
|
実行時間 | 326 ms / 5,000 ms |
コード長 | 149 bytes |
コンパイル時間 | 10,469 ms |
コンパイル使用メモリ | 421,684 KB |
実行使用メモリ | 51,344 KB |
最終ジャッジ日時 | 2024-11-20 17:25:35 |
合計ジャッジ時間 | 18,612 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
コンパイルメッセージ
Main.kt:3:10: warning: parameter 'args' is never used fun main(args: Array<String>) = println(f(g.nextInt(),g.nextInt())) ^
ソースコード
val g = java.util.Scanner(System.`in`) fun f(a: Int, b: Int): Int = a*(b+100)/100 fun main(args: Array<String>) = println(f(g.nextInt(),g.nextInt()))