結果

問題 No.1636 森
コンテスト
ユーザー DieGo
提出日時 2021-08-25 22:21:24
言語 Kotlin
(2.3.20)
コンパイル:
kotlinc _filename_ -include-runtime -d main.jar
実行:
kotlin main.jar
結果
AC  
実行時間 175 ms / 2,000 ms
コード長 76 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 10,130 ms
コンパイル使用メモリ 427,008 KB
実行使用メモリ 56,000 KB
最終ジャッジ日時 2026-05-12 06:36:19
合計ジャッジ時間 14,063 ms
ジャッジサーバーID
(参考情報)
judge2_1 / tmp-judge_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

fun main() {
    val n = readLine()!!.toInt()

    println( (n-1) * (n-1))
}
0