結果

問題 No.35 タイパー高橋
ユーザー nebukuro09nebukuro09
提出日時 2016-10-12 09:45:21
言語 Python2
(2.7.18)
結果
AC  
実行時間 15 ms / 5,000 ms
コード長 147 bytes
コンパイル時間 728 ms
コンパイル使用メモリ 6,596 KB
実行使用メモリ 6,048 KB
最終ジャッジ日時 2023-08-14 07:37:44
合計ジャッジ時間 1,273 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = input()
a1 = 0
a2 = 0
for _ in xrange(N):
    t, s = raw_input().split()
    a1 += min(12*int(t)/1000, len(s))
    a2 += len(s)
print a1, a2-a1
0