結果
問題 | No.2186 冪乗の片側極限 |
ユーザー |
|
提出日時 | 2023-01-13 22:27:19 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 303 bytes |
コンパイル時間 | 4,305 ms |
コンパイル使用メモリ | 251,356 KB |
最終ジャッジ日時 | 2025-02-10 02:47:30 |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 55 WA * 1 |
ソースコード
#include<bits/stdc++.h>using namespace std;#include<atcoder/all>using namespace atcoder;using ll = long long;ll a,b;void solve(){ll ans = 1;for(int i = 0;i<b;i++){ans *= a;}cout<<ans<<endl;}signed main(){cin.tie(nullptr);ios::sync_with_stdio(false);cin >> a >> b;solve();}