結果

問題 No.146 試験監督(1)
ユーザー NoNo
提出日時 2017-05-13 19:51:14
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 181 bytes
コンパイル時間 79 ms
コンパイル使用メモリ 10,740 KB
実行使用メモリ 8,064 KB
最終ジャッジ日時 2023-10-13 16:19:34
合計ジャッジ時間 1,815 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
n = int(input())
ans = 0

for i in range(n):
    ss = input().split()
    c = int(ss[0])
    d = int(ss[1])
    ans += int((c + 1) / 2) * d

print(ans % 10000000000 + 7)
0