結果

問題 No.1032 数数え
ユーザー matriematrie
提出日時 2020-12-19 11:44:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 160 bytes
コンパイル時間 107 ms
コンパイル使用メモリ 11,764 KB
実行使用メモリ 36,784 KB
最終ジャッジ日時 2023-10-21 09:07:20
合計ジャッジ時間 2,230 ms
ジャッジサーバーID
(参考情報)
judge10 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 RE -
testcase_02 RE -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 RE -
testcase_07 AC 179 ms
36,784 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 RE -
testcase_12 AC 170 ms
33,516 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k=map(int,input().split())
l=list(map(int,input().split()))
a=[0]*(n+1)
for i in l: a[i]+=1
b=[str(i)+' '+str(a[i]) for i in range(1,n+1)]
print('\n'.join(b))
0