結果
問題 | No.35 タイパー高橋 |
ユーザー | yuki2006 |
提出日時 | 2014-10-07 23:56:46 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 14 ms / 5,000 ms |
コード長 | 252 bytes |
コンパイル時間 | 40 ms |
コンパイル使用メモリ | 6,648 KB |
実行使用メモリ | 6,104 KB |
最終ジャッジ日時 | 2023-08-28 20:19:21 |
合計ジャッジ時間 | 556 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 14 ms
5,852 KB |
testcase_01 | AC | 13 ms
5,932 KB |
testcase_02 | AC | 14 ms
6,104 KB |
testcase_03 | AC | 14 ms
5,924 KB |
ソースコード
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