結果
| 問題 | No.1032 数数え |
| ユーザー |
futago0118
|
| 提出日時 | 2020-05-28 14:05:57 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 375 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 31,048 KB |
| 最終ジャッジ日時 | 2026-09-15 09:03:34 |
| 合計ジャッジ時間 | 1,954 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 RE * 3 |
ソースコード
N,M = map(int,input().split())
num_list = list(map(int,input().split()))
num_list = sorted(num_list,reverse = True)
for i in range(1,M+1):
cnt = 0
if i != num_list[-1]:
print(i,0)
else:
while i == num_list[-1]:
num_list.pop()
cnt += 1
if len(num_list) == 0:
break
print(i,cnt)
futago0118