結果

問題 No.35 タイパー高橋
ユーザー yuuki1036yuuki1036
提出日時 2018-11-09 10:16:29
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 5,000 ms
コード長 275 bytes
コンパイル時間 508 ms
コンパイル使用メモリ 10,568 KB
実行使用メモリ 7,888 KB
最終ジャッジ日時 2023-08-13 10:46:47
合計ジャッジ時間 1,374 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = int(input())
log = []
res = [0,0]

for i in range(N):
    l = input().split()
    t, m = int(l[0]),len(l[1])
    typed = 12*t//1000
    if m <= typed:
        res[0] += m
    else:
        res[0] += typed
        res[1] += m - typed
        
print(' '.join(map(str,res)))
0