結果
問題 | No.35 タイパー高橋 |
ユーザー |
|
提出日時 | 2021-07-28 09:14:08 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 34 ms / 5,000 ms |
コード長 | 257 bytes |
コンパイル時間 | 198 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-13 03:12:06 |
合計ジャッジ時間 | 1,008 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
ソースコード
N = int(input()) can = 0 ng = 0 for i in range(N): t, s = input().split() t = int(t) can_tmp = (t * 12 // 1000) if can_tmp >= len(s): can += len(s) else: can += can_tmp ng += (len(s) - can_tmp) print(can, ng)