結果
| 問題 | No.3259 C++ → Rust → Python |
| コンテスト | |
| ユーザー |
kou_kkk
|
| 提出日時 | 2026-08-19 21:04:18 |
| 言語 | F# (F# 10.0) |
| 結果 |
AC
|
| 実行時間 | 213 ms / 2,000 ms |
| + 818µs | |
| コード長 | 178 bytes |
| 記録 | |
| コンパイル時間 | 14,207 ms |
| コンパイル使用メモリ | 219,568 KB |
| 実行使用メモリ | 36,856 KB |
| 最終ジャッジ日時 | 2026-08-19 21:04:41 |
| 合計ジャッジ時間 | 20,333 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (457 ミリ秒)。 /home/judge/data/code/Main.fs(1,5): warning FS0025: この式のパターン マッチが不完全です たとえば、値 '[|_; _; _|]' はパターンに含まれないケースを示す可能性があります。 [/home/judge/data/code/main.fsproj] main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
let [| l; r |] =
stdin.ReadLine().Split()
|> Array.map int
let f = function
| x when x <= 295 -> 2
| x when x <= 416 -> 1
| _ -> 0
f l - f r
|> printfn "%d"
kou_kkk