結果

問題 No.146 試験監督(1)
ユーザー ABKZABKZ
提出日時 2022-12-14 23:11:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 192 ms / 1,000 ms
コード長 131 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 82,732 KB
実行使用メモリ 110,592 KB
最終ジャッジ日時 2024-04-26 03:07:04
合計ジャッジ時間 2,264 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 192 ms
110,592 KB
testcase_01 AC 188 ms
110,504 KB
testcase_02 AC 187 ms
110,476 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

ans = sum([d * ((c+1) // 2) for c, d in [map(int, input().split()) for _ in range(N)]]) % 1000000007

print(ans)
0