結果

問題 No.35 タイパー高橋
ユーザー cande398
提出日時 2018-04-25 20:33:37
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 34 ms / 5,000 ms
コード長 263 bytes
コンパイル時間 102 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-27 21:04:38
合計ジャッジ時間 672 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

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