結果
問題 |
No.35 タイパー高橋
|
ユーザー |
![]() |
提出日時 | 2021-01-01 02:13:42 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 360 bytes |
コンパイル時間 | 371 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-10 04:13:51 |
合計ジャッジ時間 | 974 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 4 |
ソースコード
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))