結果

問題 No.35 タイパー高橋
ユーザー yomo3yomo3
提出日時 2020-01-24 22:39:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 5,000 ms
コード長 185 bytes
コンパイル時間 135 ms
コンパイル使用メモリ 10,596 KB
実行使用メモリ 7,904 KB
最終ジャッジ日時 2023-10-12 04:25:35
合計ジャッジ時間 652 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

n=int(input())
s = 0
hit = 0
lsum = 0
for k in range(n):
    _t, s = input().split()
    t = int(_t)
    l = len(s)
    lsum += l
    hit += min(l, 12 * t // 1000)
print(hit, lsum-hit)
0