結果

問題 No.692 square1001 and Permutation 1
コンテスト
ユーザー tanson
提出日時 2025-11-09 02:24:16
言語 Standard ML
(MLton 20210117)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 256 bytes
コンパイル時間 7,386 ms
コンパイル使用メモリ 686,968 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2025-11-09 02:24:24
合計ジャッジ時間 3,865 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

fun readInt () =
    valOf (TextIO.scanStream (Int.scan StringCvt.DEC) TextIO.stdIn)


val () =
    let
        val n = readInt ()
       
        val ans = if n = 1 then "square1001"
                  else "Petr"
    in
        print (ans ^ "\n")
    end
0