結果
| 問題 |
No.1636 森
|
| コンテスト | |
| ユーザー |
mmn15277198
|
| 提出日時 | 2021-08-07 11:23:31 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 342 bytes |
| コンパイル時間 | 1,011 ms |
| コンパイル使用メモリ | 90,916 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-17 15:11:08 |
| 合計ジャッジ時間 | 1,340 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 20 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <functional>
#include <queue>
#include <map>
#include <cmath>
#include <iomanip>
using namespace std;
const long long MOD = (long long)(1e9) + 7;
int main() {
//cout << fixed << setprecision(15);
int n;
cin >> n;
cout << (n - 1) * (n - 1) << endl;
return 0;
}
mmn15277198