結果
問題 | No.504 ゲーム大会(ランキング) |
ユーザー | natoriusan |
提出日時 | 2023-08-01 20:33:16 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 693 ms / 2,000 ms |
コード長 | 216 bytes |
コンパイル時間 | 7,649 ms |
コンパイル使用メモリ | 186,724 KB |
実行使用メモリ | 58,092 KB |
最終ジャッジ日時 | 2024-04-19 19:47:15 |
合計ジャッジ時間 | 16,341 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 301 ms
34,340 KB |
testcase_01 | AC | 301 ms
34,484 KB |
testcase_02 | AC | 307 ms
34,348 KB |
testcase_03 | AC | 310 ms
34,356 KB |
testcase_04 | AC | 300 ms
33,800 KB |
testcase_05 | AC | 308 ms
34,476 KB |
testcase_06 | AC | 290 ms
34,476 KB |
testcase_07 | AC | 658 ms
57,972 KB |
testcase_08 | AC | 670 ms
57,152 KB |
testcase_09 | AC | 650 ms
57,844 KB |
testcase_10 | AC | 693 ms
57,716 KB |
testcase_11 | AC | 650 ms
58,092 KB |
testcase_12 | AC | 659 ms
57,948 KB |
testcase_13 | AC | 666 ms
57,968 KB |
testcase_14 | AC | 661 ms
57,964 KB |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (221 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
let n = stdin.ReadLine () |> int let mutable ans = 1 let score = stdin.ReadLine () |> int printfn "%d" ans for i in 1..n-1 do if stdin.ReadLine () |> int > score then ans <- ans + 1 printfn "%d" ans