結果

問題 No.35 タイパー高橋
ユーザー akitsugu777akitsugu777
提出日時 2018-12-11 11:40:04
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 32 ms / 5,000 ms
コード長 184 bytes
コンパイル時間 731 ms
コンパイル使用メモリ 11,820 KB
実行使用メモリ 10,168 KB
最終ジャッジ日時 2023-10-21 13:37:37
合計ジャッジ時間 1,002 ms
ジャッジサーバーID
(参考情報)
judge9 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

n = int(input())

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