結果
問題 | No.423 ハムスター語初級(数詞) |
ユーザー |
![]() |
提出日時 | 2016-09-22 22:30:47 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 58 ms / 2,000 ms |
コード長 | 301 bytes |
コンパイル時間 | 8,424 ms |
コンパイル使用メモリ | 194,024 KB |
実行使用メモリ | 30,592 KB |
最終ジャッジ日時 | 2024-11-17 13:40:18 |
合計ジャッジ時間 | 7,848 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 9 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (243 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 ri () = stdin.ReadLine() |> intlet ria () = stdin.ReadLine().Split() |> Array.map inttype Sol() =member this.Solve() =let s = stdin.ReadLine()let t = if s = "ham" then "ham" else s + "ham"printfn "%s" tlet mySol = new Sol()mySol.Solve()