結果

問題 No.1841 Long Long
コンテスト
ユーザー tanson
提出日時 2026-02-15 03:11:04
言語 Standard ML
(MLton 20241230)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 311 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 6,365 ms
コンパイル使用メモリ 704,908 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2026-02-15 03:11:12
合計ジャッジ時間 7,400 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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


fun printAns 0 = ignore ()
  | printAns n = 
    (
      print "Long";
      printAns (n - 1)
    )


val () =
    let
        val n = readInt ()
    in
        (
          printAns n;
          print "\n"
        )
    end
0