結果

問題 No.1491 銀将
ユーザー Saleh Isayev
提出日時 2021-04-30 21:22:22
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 410 bytes
コンパイル時間 1,755 ms
コンパイル使用メモリ 166,024 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-18 23:42:51
合計ジャッジ時間 2,288 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

typedef long long ll;
#define int ll
#define _FastIO ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define pii pair<int , int>
#define pb emlpace_back
#define F first
#define S second
const int mod = 998244353;
const int MAXX = 1e6 + 5;

int n;
int a[MAXX];

signed main()
{
    _FastIO;
    cin >> n;
    cout << (4 * n * n) + 2 << endl;
    return 0;
}
0