結果

問題 No.35 タイパー高橋
ユーザー matsu7874matsu7874
提出日時 2015-10-07 02:40:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 21 ms / 5,000 ms
コード長 197 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 10,624 KB
実行使用メモリ 7,948 KB
最終ジャッジ日時 2023-09-27 07:41:28
合計ジャッジ時間 793 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = int(input())
ok = 0
miss = 0
for i in range(N):
    t, s = input().split()
    t = int(t)
    l = len(s)
    ok += min(12 * t // 1000, l)
    miss += l - min(12 * t // 1000, l)
print(ok, miss)
0