結果
| 問題 | No.35 タイパー高橋 |
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 21:09:09 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 36 ms / 5,000 ms |
| + 520µs | |
| コード長 | 332 bytes |
| 記録 | |
| コンパイル時間 | 65 ms |
| コンパイル使用メモリ | 82,636 KB |
| 実行使用メモリ | 65,716 KB |
| 最終ジャッジ日時 | 2026-10-11 06:17:25 |
| 合計ジャッジ時間 | 1,163 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 |
ソースコード
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