結果

問題 No.666 1000000007で割るだけ
ユーザー 💕💖💞💕💖💞
提出日時 2018-04-04 22:11:49
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 298 ms / 2,000 ms
コード長 170 bytes
コンパイル時間 12,333 ms
コンパイル使用メモリ 416,152 KB
実行使用メモリ 53,300 KB
最終ジャッジ日時 2023-08-12 22:59:19
合計ジャッジ時間 21,475 ms
ジャッジサーバーID
(参考情報)
judge9 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 293 ms
52,896 KB
testcase_01 AC 297 ms
52,936 KB
testcase_02 AC 288 ms
52,952 KB
testcase_03 AC 290 ms
53,220 KB
testcase_04 AC 293 ms
52,968 KB
testcase_05 AC 291 ms
53,104 KB
testcase_06 AC 292 ms
53,000 KB
testcase_07 AC 291 ms
52,976 KB
testcase_08 AC 287 ms
52,976 KB
testcase_09 AC 289 ms
52,932 KB
testcase_10 AC 292 ms
53,300 KB
testcase_11 AC 288 ms
52,756 KB
testcase_12 AC 289 ms
53,164 KB
testcase_13 AC 298 ms
52,984 KB
testcase_14 AC 296 ms
52,796 KB
testcase_15 AC 296 ms
52,848 KB
testcase_16 AC 296 ms
52,968 KB
testcase_17 AC 290 ms
52,820 KB
testcase_18 AC 290 ms
53,104 KB
testcase_19 AC 293 ms
52,844 KB
testcase_20 AC 290 ms
53,084 KB
testcase_21 AC 293 ms
52,820 KB
testcase_22 AC 297 ms
52,928 KB
testcase_23 AC 292 ms
53,008 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args:Array<String>){
         ^

ソースコード

diff #

fun main(args:Array<String>){
  val base = "1000000007".toBigDecimal()
  val (a,b) = readLine()!!.split(" ").map{ it.toBigDecimal() % base }
  (a*b%base).let(::println)
}
0