結果

問題 No.666 1000000007で割るだけ
ユーザー 💕💖💞💕💖💞
提出日時 2018-04-04 22:11:49
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 281 ms / 2,000 ms
コード長 170 bytes
コンパイル時間 10,781 ms
コンパイル使用メモリ 436,100 KB
実行使用メモリ 57,316 KB
最終ジャッジ日時 2024-04-30 17:58:55
合計ジャッジ時間 16,982 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 265 ms
57,180 KB
testcase_01 AC 258 ms
57,176 KB
testcase_02 AC 262 ms
57,104 KB
testcase_03 AC 268 ms
57,024 KB
testcase_04 AC 265 ms
57,316 KB
testcase_05 AC 267 ms
57,264 KB
testcase_06 AC 265 ms
57,192 KB
testcase_07 AC 267 ms
57,136 KB
testcase_08 AC 269 ms
57,084 KB
testcase_09 AC 267 ms
57,232 KB
testcase_10 AC 261 ms
57,100 KB
testcase_11 AC 262 ms
57,232 KB
testcase_12 AC 261 ms
57,144 KB
testcase_13 AC 258 ms
57,076 KB
testcase_14 AC 263 ms
57,216 KB
testcase_15 AC 263 ms
57,088 KB
testcase_16 AC 264 ms
57,172 KB
testcase_17 AC 265 ms
57,228 KB
testcase_18 AC 268 ms
57,124 KB
testcase_19 AC 266 ms
57,128 KB
testcase_20 AC 260 ms
57,056 KB
testcase_21 AC 281 ms
57,136 KB
testcase_22 AC 262 ms
57,232 KB
testcase_23 AC 266 ms
57,048 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