結果

問題 No.35 タイパー高橋
ユーザー cande398cande398
提出日時 2018-04-25 20:33:37
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 5,000 ms
コード長 263 bytes
コンパイル時間 133 ms
コンパイル使用メモリ 10,652 KB
実行使用メモリ 7,916 KB
最終ジャッジ日時 2023-09-10 05:29:36
合計ジャッジ時間 832 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = int(input())
str_sum = 0
typed_sum = 0
for i in range(N):
	line = input().split()
	str_sum += len(line[1])
	typed = int(int(line[0])*0.012)
	if typed > len(line[1]):
		typed_sum += len(line[1])
	else:
		typed_sum += typed
print(typed_sum, str_sum - typed_sum)
0