結果
問題 | No.35 タイパー高橋 |
ユーザー | bellangeldindon |
提出日時 | 2019-05-07 11:28:28 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 14 ms / 5,000 ms |
コード長 | 302 bytes |
コンパイル時間 | 956 ms |
コンパイル使用メモリ | 6,716 KB |
実行使用メモリ | 5,996 KB |
最終ジャッジ日時 | 2023-09-14 16:24:17 |
合計ジャッジ時間 | 1,576 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 14 ms
5,928 KB |
testcase_01 | AC | 14 ms
5,928 KB |
testcase_02 | AC | 14 ms
5,876 KB |
testcase_03 | AC | 14 ms
5,996 KB |
ソースコード
def smaller(x, y): if x < y: return x else: return y N = int(raw_input()) typesuc = 0 typefal = 0 for i in range(0, N): inpt = raw_input().split() t = int(inpt[0]) s = inpt[1] sc = smaller((12*t)/1000, len(s)) fl = len(s)-sc typesuc += sc typefal += fl print str(typesuc) + ' ' + str(typefal)