結果

問題 No.35 タイパー高橋
ユーザー StarMatyanStarMatyan
提出日時 2021-01-01 02:13:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 360 bytes
コンパイル時間 310 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-04-18 11:00:56
合計ジャッジ時間 915 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

inputer_n = int(input())
syuturyoku = 0
yomitorihuka = 0
for i in range(inputer_n):
	t_d,s_d = map(int,input().split())
	t_d = str(t_d*12)
	t_d = int(t_d[:-3])
	if t_d < 1:
		yomitorihuka = yomitorihuka+ len(s_d)
	else:
		if t_d >=len(s_d):
			syuturyoku=syuturyoku+t_d
			yomitorihuka = yomitorihuka+ len(s_d)-t_d

print(str(syuturyoku)+" "+str(yomitorihuka))
0