結果

問題 No.35 タイパー高橋
ユーザー pekempeypekempey
提出日時 2016-11-19 23:36:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 5,000 ms
コード長 178 bytes
コンパイル時間 237 ms
コンパイル使用メモリ 10,576 KB
実行使用メモリ 7,804 KB
最終ジャッジ日時 2023-08-18 03:52:45
合計ジャッジ時間 673 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = int(input())

succ = 0
total = 0

for _ in range(N):
	T, S = input().split()
	T = int(T)
	S = len(S)
	succ += min(S, 12 * T // 1000)
	total += S

print(succ, total - succ)
	
0