結果
| 問題 | No.564 背の順 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-06-12 11:34:25 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 191 bytes |
| 記録 | |
| コンパイル時間 | 178 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-09 17:52:50 |
| 合計ジャッジ時間 | 1,070 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 2 RE * 7 |
ソースコード
h, n = map(int, input().split()) r = sorted([int(input()) for _ in range(n-1)] + [h], reverse=True).index(h) + 1 th = ["th", "st", "nd", "rd"] + ["th"] * 6 print(str(r) + th[int(str(r))])