結果

問題 No.35 タイパー高橋
ユーザー tookunn_1213tookunn_1213
提出日時 2015-04-03 18:58:58
言語 Python2
(2.7.18)
結果
AC  
実行時間 14 ms / 5,000 ms
コード長 229 bytes
コンパイル時間 52 ms
コンパイル使用メモリ 6,672 KB
実行使用メモリ 6,188 KB
最終ジャッジ日時 2023-09-17 04:01:49
合計ジャッジ時間 575 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = input()
success = 0
failed = 0
for i in range(N):
	T,S = raw_input().split()
	T = int(T)
	typed = (T*12)/1000
	if typed > len(S):
		success += len(S)
	else:
		success += typed
		failed += (len(S) - typed)
print success,failed
0