結果
| 問題 |
No.35 タイパー高橋
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-08-02 17:08:09 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 351 bytes |
| コンパイル時間 | 359 ms |
| コンパイル使用メモリ | 12,032 KB |
| 実行使用メモリ | 11,264 KB |
| 最終ジャッジ日時 | 2025-08-02 17:08:10 |
| 合計ジャッジ時間 | 1,145 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 4 |
ソースコード
t = int(input())
for _ in range(t):
n = int(input())
correct_chars = 0
missed_chars = 0
for _ in range(n):
t, s = input().split()
t = int(t)
max_chars = min(len(s), int(12 * t / 1000))
correct_chars += max_chars
missed_chars += len(s) - max_chars
print(correct_chars, missed_chars)