結果

問題 No.35 タイパー高橋
ユーザー SoratopSoratop
提出日時 2020-12-02 13:51:02
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 5,000 ms
コード長 116 bytes
コンパイル時間 112 ms
コンパイル使用メモリ 10,720 KB
実行使用メモリ 7,952 KB
最終ジャッジ日時 2023-10-11 11:22:54
合計ジャッジ時間 742 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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