結果

問題 No.35 タイパー高橋
ユーザー k0825k0825
提出日時 2019-03-06 13:25:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 21 ms / 5,000 ms
コード長 156 bytes
コンパイル時間 73 ms
コンパイル使用メモリ 10,656 KB
実行使用メモリ 7,900 KB
最終ジャッジ日時 2023-09-05 19:07:16
合計ジャッジ時間 609 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
7,844 KB
testcase_01 AC 20 ms
7,768 KB
testcase_02 AC 21 ms
7,756 KB
testcase_03 AC 20 ms
7,900 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a,b=[0,0]
for _ in '1'*n:
	t, s = input().split()
	if (12*int(t)//1000) < len(s):
		a+= len(s) - (12*int(t)//1000)
	b+=len(s)
print(b-a, a)
0