結果
問題 | No.564 背の順 |
ユーザー |
![]() |
提出日時 | 2017-09-14 22:33:55 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 222 bytes |
コンパイル時間 | 246 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-07 20:05:41 |
合計ジャッジ時間 | 1,320 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 9 |
ソースコード
H,N=(int(i) for i in input().split())c=0for i in range(N):g=int(input())if g>H:c+=1S=str(g)S=S[-1]if S=="1":d="st"elif S=="2":d=="nd"elif S=="3":d=="rd"else:d=="th"print(S+d)