結果

問題 No.564 背の順
ユーザー matrie
提出日時 2020-11-28 04:04:31
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 147 bytes
コンパイル時間 344 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-12 21:56:52
合計ジャッジ時間 1,381 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

h,m = map(int, input().split())
x = 1
for i in range(m-1):
	if h < int(input()): x += 1

s = ["st","nd","rd","th"]
print(x, s[min(x,4)-1], sep='')
0