結果

問題 No.3107 45^2
ユーザー shamoji8
提出日時 2025-04-20 16:43:30
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 565 bytes
コンパイル時間 1,990 ms
コンパイル使用メモリ 192,504 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-04-20 16:43:34
合計ジャッジ時間 2,593 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i,n) REP(i, 0, n)
#define REP(i, a, n) for(int i = a ; i < (int)n ; i++)
#define all(x) (x).begin(),(x).end()
#define mod 1000000007
const long long INF = 1LL << 60;
const int inf = 1000100100;
typedef long long ll;
using namespace std;
using Graph = vector<vector<int>>;
template<class T> inline bool chmax(T & a, T b) { if (a < b) { a = b; return true; } return false; }
template<class T> inline bool chmin(T & a, T b) { if (a > b) { a = b; return true; } return false; }

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