結果

問題 No.3107 45^2
ユーザー h4rel
提出日時 2025-04-19 02:46:30
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 596 bytes
コンパイル時間 3,415 ms
コンパイル使用メモリ 274,156 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-04-19 02:46:35
合計ジャッジ時間 4,313 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define all(a) a.begin(),a.end()
#define reps(i, a, n) for (int i = (a); i < (int)(n); i++)
#define rep(i, n) reps(i, 0, n)
#define rreps(i, a, n) for (int i = (a); i > (int)(n); i--)
const long long mod = 1000000007;
const long long INF = 1e18;
ll myceil(ll a, ll b) {return (a+b-1)/b;}


void solve() {
    int n;
    cin >> n;
    cout << n*n << endl;
    return;
}



int main() {
    cin.tie(nullptr);
    ios_base::sync_with_stdio(false);

    int t = 1;
    // cin >> t;
    rep(i,t) {
        solve();
    }
	return 0;
}
0