結果

問題 No.1636 森
ユーザー ktr216
提出日時 2021-08-06 21:21:22
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 201 bytes
コンパイル時間 1,322 ms
コンパイル使用メモリ 165,884 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-17 01:14:11
合計ジャッジ時間 1,990 ms
ジャッジサーバーID
(参考情報)
judge3 / judge6
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i, l, r) for (int i = (l); i < (r); i++)
using namespace std;

typedef long long ll;

int main() {
    int N;
    cin >> N;
    cout << (N - 1) * (N - 1) << endl;
}
0