結果
| 問題 | No.564 背の順 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-10-29 02:07:19 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 131 bytes |
| 記録 | |
| コンパイル時間 | 358 ms |
| コンパイル使用メモリ | 20,708 KB |
| 実行使用メモリ | 20,724 KB |
| 最終ジャッジ日時 | 2026-05-16 08:00:10 |
| 合計ジャッジ時間 | 3,558 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 RE * 1 |
| other | AC * 2 RE * 7 |
ソースコード
h,n=map(int,input().split())
c=1
for _ in range(n-1):
if int(input())>h:c+=1
print((('1st','2nd','3rd')[c-1],str(c)+'th')[c>3])