結果
問題 | No.564 背の順 |
ユーザー |
![]() |
提出日時 | 2017-09-14 22:35:54 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 224 bytes |
コンパイル時間 | 263 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-07 20:05:45 |
合計ジャッジ時間 | 1,177 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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(c+1)S=S[-1]if S=="1":d="st"elif S=="2":d=="nd"elif S=="3":d=="rd"else:d=="th"print(S+d)