結果
| 問題 |
No.35 タイパー高橋
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-05-08 02:03:37 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 34 ms / 5,000 ms |
| コード長 | 349 bytes |
| コンパイル時間 | 146 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-07-03 09:44:01 |
| 合計ジャッジ時間 | 724 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
N = int(input())
ans = 0
miss_type = 0
for i in range(N):
date_type = input().split()
time = int((12 / 1000) * int(date_type[0]))
if len(date_type[1]) > time:
ans = ans + time
miss_type = miss_type + len(date_type[1]) - time
else:
ans = ans + len(date_type[1])
print(str(ans) + " " + str(miss_type))