結果

問題 No.56 消費税
ユーザー 826814741_6826814741_6
提出日時 2019-01-19 16:25:41
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 329 ms / 5,000 ms
コード長 149 bytes
コンパイル時間 15,100 ms
コンパイル使用メモリ 413,848 KB
実行使用メモリ 53,972 KB
最終ジャッジ日時 2023-08-13 01:17:46
合計ジャッジ時間 23,164 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 320 ms
53,776 KB
testcase_01 AC 318 ms
53,620 KB
testcase_02 AC 322 ms
53,552 KB
testcase_03 AC 326 ms
53,744 KB
testcase_04 AC 321 ms
53,820 KB
testcase_05 AC 320 ms
53,708 KB
testcase_06 AC 325 ms
53,508 KB
testcase_07 AC 316 ms
53,864 KB
testcase_08 AC 321 ms
53,656 KB
testcase_09 AC 327 ms
53,724 KB
testcase_10 AC 327 ms
53,604 KB
testcase_11 AC 325 ms
53,528 KB
testcase_12 AC 323 ms
53,564 KB
testcase_13 AC 322 ms
53,556 KB
testcase_14 AC 326 ms
53,820 KB
testcase_15 AC 319 ms
53,560 KB
testcase_16 AC 321 ms
53,580 KB
testcase_17 AC 327 ms
53,848 KB
testcase_18 AC 319 ms
53,572 KB
testcase_19 AC 323 ms
53,972 KB
testcase_20 AC 326 ms
53,960 KB
testcase_21 AC 324 ms
53,624 KB
testcase_22 AC 326 ms
53,720 KB
testcase_23 AC 329 ms
53,756 KB
testcase_24 AC 316 ms
53,828 KB
testcase_25 AC 322 ms
53,716 KB
testcase_26 AC 317 ms
53,748 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:3:10: warning: parameter 'args' is never used
fun main(args: Array<String>) = println(f(g.nextInt(),g.nextInt()))
         ^

ソースコード

diff #

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()))
0