結果
問題 | No.35 タイパー高橋 |
ユーザー | Mario |
提出日時 | 2018-05-03 00:32:45 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 20 ms / 5,000 ms |
コード長 | 309 bytes |
コンパイル時間 | 520 ms |
コンパイル使用メモリ | 10,668 KB |
実行使用メモリ | 7,980 KB |
最終ジャッジ日時 | 2023-09-10 09:02:43 |
合計ジャッジ時間 | 1,139 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 20 ms
7,880 KB |
testcase_01 | AC | 19 ms
7,880 KB |
testcase_02 | AC | 19 ms
7,828 KB |
testcase_03 | AC | 19 ms
7,980 KB |
ソースコード
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)