結果
問題 | No.146 試験監督(1) |
ユーザー | Luoto-green |
提出日時 | 2017-09-04 09:39:52 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 137 bytes |
コンパイル時間 | 77 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-04-24 12:43:31 |
合計ジャッジ時間 | 2,095 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
ソースコード
n = int(input()) mod = int(1e9+7) ans = 0 for i in range(n): c,d = map(int,input().split()) ans += ((c+1)//2 * d) %mod print(ans)