結果

問題 No.35 タイパー高橋
ユーザー yuki2006yuki2006
提出日時 2014-10-07 23:54:59
言語 Python2
(2.7.18)
結果
AC  
実行時間 15 ms / 5,000 ms
コード長 252 bytes
コンパイル時間 143 ms
コンパイル使用メモリ 6,528 KB
実行使用メモリ 5,956 KB
最終ジャッジ日時 2023-08-28 20:16:52
合計ジャッジ時間 534 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
5,956 KB
testcase_01 AC 13 ms
5,916 KB
testcase_02 AC 15 ms
5,852 KB
testcase_03 AC 13 ms
5,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(raw_input())
miss_total = 0
total = 0
for _ in xrange(N):
    T, S = raw_input().split()
    total += len(S)
    current_miss = len(S) - (12 * int(T) // 1000)
    miss_total += max(current_miss, 0)

print total - miss_total, miss_total
0