結果
| 問題 |
No.146 試験監督(1)
|
| コンテスト | |
| ユーザー |
tookunn_1213
|
| 提出日時 | 2015-08-15 19:03:45 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 211 bytes |
| コンパイル時間 | 58 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-18 09:44:09 |
| 合計ジャッジ時間 | 1,726 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 3 |
ソースコード
N = int(raw_input()) countSum = 0 for i in xrange(N): C,D = map(long,raw_input().split()) if C % 2 == 0: countSum += (C * D) / 2 else: countSum += ((C - 1) * D) countSum % (1000000000 + 7) print countSum
tookunn_1213