結果

問題 No.35 タイパー高橋
ユーザー first_vilfirst_vil
提出日時 2020-07-02 14:32:41
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 21 ms / 5,000 ms
コード長 160 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 10,516 KB
実行使用メモリ 8,036 KB
最終ジャッジ日時 2023-10-13 03:18:27
合計ジャッジ時間 769 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

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