結果

問題 No.35 タイパー高橋
ユーザー panapanagdfpanapanagdf
提出日時 2019-09-20 22:33:40
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 242 bytes
コンパイル時間 69 ms
コンパイル使用メモリ 10,516 KB
実行使用メモリ 7,832 KB
最終ジャッジ日時 2023-10-12 20:07:31
合計ジャッジ時間 593 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #


a=1000/12
b=int(input())
c=[]
d=0
e=0
for i in range(b):
    c.append(input().split())
    if int(c[i][0])>=len(c[i][1])*a:
        d+=len(a)
    else:
        d+=c[i][0]//a
        e+=len(c[i][1])-(c[i][0]//a)
print(d,e)
        
        
0