結果
| 問題 | No.35 タイパー高橋 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-03 00:32:45 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 91 ms / 5,000 ms |
| + 951µs | |
| コード長 | 309 bytes |
| 記録 | |
| コンパイル時間 | 295 ms |
| コンパイル使用メモリ | 21,284 KB |
| 実行使用メモリ | 15,740 KB |
| 最終ジャッジ日時 | 2026-07-31 12:55:46 |
| 合計ジャッジ時間 | 1,840 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
import math
N = int(input())
correct_total = 0
wrong_total = 0
for n in range(N):
ts = input().split()
t = float(ts[0])
s = ts[1]
correct = min( math.floor(12 * t / 1000), len(s) )
correct_total += correct
wrong_total += len(s) - correct
print(correct_total, wrong_total)