結果

問題 No.35 タイパー高橋
ユーザー rpy3cpprpy3cpp
提出日時 2015-08-04 01:10:16
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 5,000 ms
コード長 201 bytes
コンパイル時間 176 ms
コンパイル使用メモリ 10,640 KB
実行使用メモリ 7,904 KB
最終ジャッジ日時 2023-09-25 00:58:01
合計ジャッジ時間 830 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = int(input())
typed = 0
total = 0
for n in range(N):
    t, s = input().split()
    t = int(t)
    lens = len(s)
    typed += min(12 * t // 1000, lens)
    total += lens
print(typed, total - typed)
0