結果
問題 | No.35 タイパー高橋 |
ユーザー | RK Python |
提出日時 | 2020-06-01 15:33:50 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 16 ms / 5,000 ms |
コード長 | 181 bytes |
コンパイル時間 | 543 ms |
コンパイル使用メモリ | 10,552 KB |
実行使用メモリ | 7,848 KB |
最終ジャッジ日時 | 2023-08-14 02:41:59 |
合計ジャッジ時間 | 1,129 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 16 ms
7,848 KB |
testcase_01 | AC | 15 ms
7,804 KB |
testcase_02 | AC | 15 ms
7,768 KB |
testcase_03 | AC | 16 ms
7,832 KB |
ソースコード
N = int(input()) tc = 0 tw = 0 for _ in range(N): t, s = input().split() t = int(t) tc += min((12*t)//1000, len(s)) tw += max(len(s) - (12*t)//1000, 0) print(tc, tw)