結果

問題 No.35 タイパー高橋
ユーザー c-yanc-yan
提出日時 2020-07-23 00:45:07
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 5,000 ms
コード長 189 bytes
コンパイル時間 193 ms
コンパイル使用メモリ 10,544 KB
実行使用メモリ 7,824 KB
最終ジャッジ日時 2023-09-05 07:11:13
合計ジャッジ時間 715 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
7,780 KB
testcase_01 AC 19 ms
7,780 KB
testcase_02 AC 19 ms
7,812 KB
testcase_03 AC 19 ms
7,824 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

x, y = 0, 0
for _ in range(N):
    T, S = input().split()
    T = int(T)
    x += min(int(12 * T / 1000), len(S))
    y += max(len(S) - int(12 * T / 1000), 0)
print(x, y)
0