結果
| 問題 | No.564 背の順 |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-03-11 17:32:10 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 26 ms / 2,000 ms |
| + 726µs | |
| コード長 | 170 bytes |
| 記録 | |
| コンパイル時間 | 73 ms |
| コンパイル使用メモリ | 80,640 KB |
| 実行使用メモリ | 54,660 KB |
| 最終ジャッジ日時 | 2026-09-15 10:29:07 |
| 合計ジャッジ時間 | 1,785 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 9 |
ソースコード
from bisect import bisect_left h,n,*a = map(int,open(0).read().split()) a.sort() ans = n-bisect_left(a,h) end = ["th","st","nd","rd"]+["th"]*9 print(str(ans)+end[ans%10])
convexineq