結果

問題 No.423 ハムスター語初級(数詞)
ユーザー Michae'GonMichae'Gon
提出日時 2017-02-21 01:48:43
言語 F#
(.NET 7)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 132 bytes
コンパイル時間 3,243 ms
コンパイル使用メモリ 161,120 KB
実行使用メモリ 23,656 KB
最終ジャッジ日時 2023-08-28 22:07:18
合計ジャッジ時間 4,511 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
21,508 KB
testcase_01 AC 50 ms
21,480 KB
testcase_02 AC 51 ms
21,556 KB
testcase_03 AC 51 ms
21,648 KB
testcase_04 AC 51 ms
21,568 KB
testcase_05 AC 51 ms
23,656 KB
testcase_06 AC 51 ms
21,668 KB
testcase_07 AC 50 ms
21,576 KB
testcase_08 AC 50 ms
21,464 KB
testcase_09 AC 50 ms
21,456 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

module Main
open System
let n = Console.ReadLine()

Console.WriteLine(
    if n = "ham" then
        n
    else
        n + "ham"
)
0