結果
問題 | No.146 試験監督(1) |
ユーザー | toshiro_yanagi |
提出日時 | 2018-06-11 10:57:03 |
言語 | Nim (2.0.2) |
結果 |
RE
|
実行時間 | - |
コード長 | 216 bytes |
コンパイル時間 | 3,027 ms |
コンパイル使用メモリ | 68,884 KB |
実行使用メモリ | 4,384 KB |
最終ジャッジ日時 | 2023-09-13 02:54:04 |
合計ジャッジ時間 | 3,704 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
ソースコード
import strutils, sequtils, math let N = stdin.readLine.parseInt var C, D, cnt = 0 for i in 0 ..< N: (C, D) = stdin.readLine.split.map parseInt cnt += (C / 2).ceil.int * D cnt = cnt mod (10 ^ 9 + 7) echo cnt