結果
| 問題 | No.564 背の順 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-06-12 11:34:25 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 191 bytes |
| 記録 | |
| コンパイル時間 | 62 ms |
| コンパイル使用メモリ | 15,232 KB |
| 実行使用メモリ | 13,312 KB |
| 最終ジャッジ日時 | 2026-09-12 18:36:56 |
| 合計ジャッジ時間 | 1,769 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))])