結果
| 問題 | No.564 背の順 |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-03-11 17:32:10 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 33 ms / 2,000 ms |
| + 732µs | |
| コード長 | 170 bytes |
| 記録 | |
| コンパイル時間 | 85 ms |
| コンパイル使用メモリ | 64,384 KB |
| 実行使用メモリ | 53,848 KB |
| 最終ジャッジ日時 | 2026-10-15 20:02:05 |
| 合計ジャッジ時間 | 2,046 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
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