結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
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