結果

問題 No.35 タイパー高橋
ユーザー SoratopSoratop
提出日時 2020-12-02 13:43:41
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 20 ms / 5,000 ms
コード長 129 bytes
コンパイル時間 110 ms
コンパイル使用メモリ 10,496 KB
実行使用メモリ 7,996 KB
最終ジャッジ日時 2023-10-11 11:16:19
合計ジャッジ時間 790 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

n=int(input())
c=s=0
for i in range(n):
    a,b=input().split()
    s+=len(b)
    c+=min(int(int(a)/1000*12),len(b))
print(c,s-c)
0