結果
問題 |
No.3107 45^2
|
ユーザー |
|
提出日時 | 2025-04-19 22:28:57 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 418 bytes |
コンパイル時間 | 2,066 ms |
コンパイル使用メモリ | 194,424 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-04-19 22:29:00 |
合計ジャッジ時間 | 2,650 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 12 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i,n) for (ll i=0; i<(n); i++) #define reps(i,n) for (ll i=1; i<=(n); i++) #define for_(i,a,b) for (ll i=(a); i<(b); i++) #define pb push_back const ll MM = 1000000000; long long cnt(ll x){ ll xx=to_string(x).length(); return xx; } ll triangle(ll n) { return n * (n + 1) / 2; } int main(){ ll n; cin>>n; cout<<n*n<<endl; }