結果
問題 | No.146 試験監督(1) |
ユーザー | MitI_7 |
提出日時 | 2015-12-12 10:51:31 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 238 bytes |
コンパイル時間 | 94 ms |
コンパイル使用メモリ | 10,600 KB |
実行使用メモリ | 8,116 KB |
最終ジャッジ日時 | 2023-10-13 11:39:59 |
合計ジャッジ時間 | 2,230 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
ソースコード
import math def main(): n = int(input()) ans = 0 for _ in range(n): c, d = map(int, input().split()) ans += math.ceil(c / 2) * d print(ans % (10 ** 9 + 7)) if __name__ == '__main__': main()