結果

問題 No.3107 45^2
ユーザー しとりん
提出日時 2025-04-18 20:35:24
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 509 bytes
コンパイル時間 2,235 ms
コンパイル使用メモリ 194,904 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-04-18 20:35:55
合計ジャッジ時間 2,541 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
//#include <atcoder/all>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
template<typename T> inline bool chmax(T &a, T b) { return ((a < b) ? (a = b, true) : (false)); }
template<typename T> inline bool chmin(T &a, T b) { return ((a > b) ? (a = b, true) : (false)); }
#define int long long
const int INF = (1LL << 60);
//const int MOD = 1e9 + 7;
vector<int> dx = { 0,1 };
vector<int> dy = { 1,0 };

signed main() {
    int n; cin >> n;
    cout << n*n << endl;
}
0