結果
| 問題 |
No.146 試験監督(1)
|
| コンテスト | |
| ユーザー |
togatoga
|
| 提出日時 | 2015-09-02 23:38:30 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 167 bytes |
| コンパイル時間 | 46 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 9,728 KB |
| 最終ジャッジ日時 | 2024-07-18 21:48:36 |
| 合計ジャッジ時間 | 1,930 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 3 |
ソースコード
import math
mod = 10 ** 9 + 7
N = input()
res = 0
for i in range(N):
C,D = map(int, raw_input().split())
res += (C + 1/ 2.0) * D
res %= mod
print int(res)
togatoga