結果
問題 |
No.1249 小学校1年生の夢
|
ユーザー |
|
提出日時 | 2020-10-16 23:51:44 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 63 ms / 2,000 ms |
コード長 | 277 bytes |
コンパイル時間 | 9,885 ms |
コンパイル使用メモリ | 188,184 KB |
実行使用メモリ | 30,976 KB |
最終ジャッジ日時 | 2024-07-21 01:05:00 |
合計ジャッジ時間 | 14,294 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (549 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 solve a b c = if a + b = c then "Correct" else "Incorrect" let () = let a, b, c = stdin.ReadLine() |> fun s -> s.Split() |> Array.map int |> fun arr -> (arr.[0], arr.[1], arr.[2]) solve a b c |> printfn "%s"