結果

問題 No.146 試験監督(1)
ユーザー ixmelixmel
提出日時 2017-03-30 16:36:09
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 209 bytes
コンパイル時間 148 ms
コンパイル使用メモリ 10,508 KB
実行使用メモリ 8,064 KB
最終ジャッジ日時 2023-09-21 08:42:57
合計ジャッジ時間 2,297 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import sys
import math as mas

n=int(input())
sum=0
for i in range(n):
	s=input()
	a,b=map(int,s.split())
	sum+=b*((a+1)//2)
print(sum)
#for i in sys.stdin:
#	a,b=map(int,i.split())
#	print(gcd(a,b),lcm(a,b))
0