結果

問題 No.146 試験監督(1)
ユーザー shinichishinichi
提出日時 2021-07-10 16:02:19
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 130 bytes
コンパイル時間 280 ms
コンパイル使用メモリ 87,028 KB
実行使用メモリ 77,068 KB
最終ジャッジ日時 2023-09-14 19:35:55
合計ジャッジ時間 1,961 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

n = int(input())
result = 0
for _ in range(n):
    a, b = map(int, input().split())
    result += ((a>>1)+(a&1)) * b
print(result)
0