結果

問題 No.244 ★1のグラフの問題
ユーザー tanson
提出日時 2025-09-16 00:03:07
言語 Standard ML
(MLton 20210117)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 211 bytes
コンパイル時間 2,954 ms
コンパイル使用メモリ 690,172 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2025-09-16 00:03:15
合計ジャッジ時間 3,943 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

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


val () =
    let
        val n = readInt ()
        val ans = n - 1
    in
        print (Int.toString ans ^ "\n")
    end

0