結果
問題 |
No.35 タイパー高橋
|
ユーザー |
![]() |
提出日時 | 2020-03-26 13:32:49 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 35 ms / 5,000 ms |
コード長 | 314 bytes |
コンパイル時間 | 282 ms |
コンパイル使用メモリ | 12,032 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2025-01-02 01:26:39 |
合計ジャッジ時間 | 1,113 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
ソースコード
import sys import math input = sys.stdin.readline n = int(input()) tsn = [None] * n for i in range(n): v = input().strip().split(' ') tsn[i] = [int(v[0]), len(v[1])] ok = 0 miss = 0 for ts in tsn: t = min([math.floor(ts[0] * 12 / 1000), ts[1]]) ok += t miss += ts[1] - t print(ok, miss)