結果
| 問題 | No.504 ゲーム大会(ランキング) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-08-01 20:33:16 |
| 言語 | F# (F# 10.0) |
| 結果 |
AC
|
| 実行時間 | 447 ms / 2,000 ms |
| コード長 | 216 bytes |
| 記録 | |
| コンパイル時間 | 10,008 ms |
| コンパイル使用メモリ | 205,620 KB |
| 実行使用メモリ | 64,752 KB |
| 最終ジャッジ日時 | 2026-04-27 19:20:43 |
| 合計ジャッジ時間 | 19,571 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (193 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.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