結果
問題 | No.423 ハムスター語初級(数詞) |
ユーザー | kuuso1 |
提出日時 | 2016-09-22 22:30:47 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 75 ms / 2,000 ms |
コード長 | 301 bytes |
コンパイル時間 | 3,617 ms |
コンパイル使用メモリ | 170,892 KB |
実行使用メモリ | 24,672 KB |
最終ジャッジ日時 | 2023-08-11 01:39:14 |
合計ジャッジ時間 | 4,914 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 73 ms
20,656 KB |
testcase_01 | AC | 71 ms
22,648 KB |
testcase_02 | AC | 72 ms
22,544 KB |
testcase_03 | AC | 72 ms
22,668 KB |
testcase_04 | AC | 73 ms
22,604 KB |
testcase_05 | AC | 75 ms
24,672 KB |
testcase_06 | AC | 75 ms
22,656 KB |
testcase_07 | AC | 74 ms
22,540 KB |
testcase_08 | AC | 72 ms
24,632 KB |
testcase_09 | AC | 73 ms
20,564 KB |
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0 Copyright (c) Microsoft Corporation. All Rights Reserved.
ソースコード
open System let ri () = stdin.ReadLine() |> int let ria () = stdin.ReadLine().Split() |> Array.map int type Sol() = member this.Solve() = let s = stdin.ReadLine() let t = if s = "ham" then "ham" else s + "ham" printfn "%s" t let mySol = new Sol() mySol.Solve()