結果

問題 No.692 square1001 and Permutation 1
ユーザー taktak
提出日時 2018-06-17 13:53:41
言語 F#
(F# 4.0)
結果
AC  
実行時間 80 ms / 2,000 ms
コード長 140 bytes
コンパイル時間 4,922 ms
コンパイル使用メモリ 151,188 KB
実行使用メモリ 26,616 KB
最終ジャッジ日時 2023-09-13 06:19:54
合計ジャッジ時間 4,464 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
22,656 KB
testcase_01 AC 75 ms
22,524 KB
testcase_02 AC 80 ms
24,696 KB
testcase_03 AC 77 ms
22,616 KB
testcase_04 AC 77 ms
26,616 KB
testcase_05 AC 76 ms
22,540 KB
testcase_06 AC 75 ms
22,596 KB
testcase_07 AC 76 ms
24,684 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let fstMove = "Petr"
let nxtMove = "square1001"

let n = stdin.ReadLine() |> int

n
|> function| 1 -> nxtMove | _ -> fstMove
|> printfn "%s"
0