結果

問題 No.35 タイパー高橋
ユーザー ytftytft
提出日時 2022-11-04 21:10:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 5,000 ms
コード長 184 bytes
コンパイル時間 1,062 ms
コンパイル使用メモリ 86,880 KB
実行使用メモリ 71,456 KB
最終ジャッジ日時 2023-09-25 23:20:54
合計ジャッジ時間 1,660 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,328 KB
testcase_01 AC 73 ms
70,940 KB
testcase_02 AC 76 ms
71,456 KB
testcase_03 AC 75 ms
71,092 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda:sys.stdin.readline().rstrip()
N,t,chars=int(input()),0,0
for i in range(N):
	T,S=input().split()
	t+=min(len(S),12*int(T)//1000)
	chars+=len(S)
print(t,chars-t)
0