結果

問題 No.35 タイパー高橋
ユーザー 👑 yumechiyumechi
提出日時 2015-04-12 04:17:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 5,000 ms
コード長 272 bytes
コンパイル時間 314 ms
コンパイル使用メモリ 10,552 KB
実行使用メモリ 7,928 KB
最終ジャッジ日時 2023-09-17 19:38:08
合計ジャッジ時間 788 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = int(input())
SECOND = 1000
cantype = 12
typed = miss = 0
for _ in range(N):
    A, B = input().split()
    A = int(A)
    t = len(B) - int(A / 1000 * 12)
    if t <= 0:
        typed += len(B)
    else:
        typed += len(B) - t
        miss += t
print(typed, miss)
0