結果
問題 | No.146 試験監督(1) |
ユーザー |
![]() |
提出日時 | 2015-08-15 19:09:01 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 318 ms / 1,000 ms |
コード長 | 168 bytes |
コンパイル時間 | 53 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-18 09:44:15 |
合計ジャッジ時間 | 1,840 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 |
ソースコード
N = int(raw_input()) countSum = 0 for i in xrange(N): C,D = map(long,raw_input().split()) countSum += ((C + 1) / 2) * D countSum %= (1000000000L + 7) print countSum