結果
| 問題 |
No.35 タイパー高橋
|
| コンテスト | |
| ユーザー |
naoe123
|
| 提出日時 | 2020-01-27 06:50:25 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 34 ms / 5,000 ms |
| コード長 | 396 bytes |
| コンパイル時間 | 191 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-09-14 11:48:33 |
| 合計ジャッジ時間 | 796 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
N=int(input())
T = []
S = []
for i in range(N):
x1,y1=[i for i in input().split()]
T.append(int(x1))
S.append(y1)
miss_type=0
could_type=0
for i in range(N):
can_type=(T[i]*12)//1000
char_num=len(S[i])
if can_type>=char_num:
could_type+=char_num
else:
could_type+=can_type
miss_type+=char_num-can_type
print(str(could_type)+' '+str(miss_type))
naoe123