結果

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

ソースコード

diff #

#include <bits/stdc++.h>
#define fli(i,fc,n) for(int i=fc;i<n;i++)
#define rli(i,n,rc) for(int i=n;i>rc;i--)
#define sz(a) a.size()
#define ll long long
#define pb push_back
#define vi vector<int>
#define vll vector<ll>
#define pi vector<pair<int,int>>
#define pll vector<pair<ll,ll>>
#define all(v) v.begin(), v.end()
#define rall(v) v.rbegin(), v.rend()
#define nl "\n"
using namespace std;

#ifndef ONLINE_JUDGE
#include "algo/debug.h"
#else
#define debug(...) 42
#endif


void saad(){
    int n; cin >> n;
    cout << n*n << nl;
}

int main() {
    ios::sync_with_stdio(false),cin.tie(nullptr);
    int t = 1;
    while(t--){
        saad();
    }
}
0