結果
| 問題 | No.504 ゲーム大会(ランキング) | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2023-08-01 20:33:16 | 
| 言語 | F# (F# 4.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 761 ms / 2,000 ms | 
| コード長 | 216 bytes | 
| コンパイル時間 | 9,732 ms | 
| コンパイル使用メモリ | 187,816 KB | 
| 実行使用メモリ | 58,084 KB | 
| 最終ジャッジ日時 | 2024-10-11 11:58:48 | 
| 合計ジャッジ時間 | 20,601 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 13 | 
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (264 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
            
            
            
        