結果
問題 | No.35 タイパー高橋 |
ユーザー | yuki2006 |
提出日時 | 2014-10-07 18:12:13 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 14 ms / 5,000 ms |
コード長 | 243 bytes |
コンパイル時間 | 210 ms |
コンパイル使用メモリ | 6,572 KB |
実行使用メモリ | 6,028 KB |
最終ジャッジ日時 | 2023-08-28 20:13:02 |
合計ジャッジ時間 | 843 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 14 ms
5,952 KB |
testcase_01 | AC | 13 ms
5,920 KB |
testcase_02 | AC | 13 ms
5,980 KB |
testcase_03 | AC | 13 ms
6,028 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