結果
問題 | No.423 ハムスター語初級(数詞) |
ユーザー |
|
提出日時 | 2016-10-11 23:09:02 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 51 ms / 2,000 ms |
コード長 | 259 bytes |
コンパイル時間 | 18,336 ms |
コンパイル使用メモリ | 184,868 KB |
実行使用メモリ | 27,264 KB |
最終ジャッジ日時 | 2024-11-22 01:45:40 |
合計ジャッジ時間 | 8,568 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 9 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (390 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/
ソースコード
open Systemlet dprintfn fmt = Printf.kprintf Diagnostics.Debug.WriteLine fmt[<EntryPoint>]let main argv =let s = Console.ReadLine().Trim()if s <> "ham" thenConsole.WriteLine(s + "ham")elseConsole.WriteLine("ham")0