結果
| 問題 |
No.35 タイパー高橋
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 21:09:09 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 51 ms / 5,000 ms |
| コード長 | 332 bytes |
| コンパイル時間 | 205 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 62,948 KB |
| 最終ジャッジ日時 | 2025-03-20 21:09:53 |
| 合計ジャッジ時間 | 795 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
n = int(input())
total_correct = 0
total_length = 0
for _ in range(n):
t, s = input().split()
t = int(t)
s_len = len(s)
max_possible = (12 * t) // 1000
correct = min(max_possible, s_len)
total_correct += correct
total_length += s_len
escaped = total_length - total_correct
print(total_correct, escaped)
lam6er