結果
| 問題 |
No.35 タイパー高橋
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-03-28 15:28:20 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 34 ms / 5,000 ms |
| コード長 | 377 bytes |
| コンパイル時間 | 88 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-06-25 13:11:10 |
| 合計ジャッジ時間 | 634 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
phase = int(input())
loss_string = 0
correct_string = 0
for i in range(phase):
x = input().split(" ")
time = int(x[0])
str_len = len(x[1])
max_string = int(12*time/1000)
if max_string < str_len:
loss_string += str_len - max_string
correct_string += max_string
else:
correct_string += str_len
print(correct_string,loss_string)