結果
| 問題 |
No.2007 Arbitrary Mod (Easy)
|
| コンテスト | |
| ユーザー |
LV3zJigVW57oPGy
|
| 提出日時 | 2022-07-18 15:17:58 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 217 bytes |
| コンパイル時間 | 1,123 ms |
| コンパイル使用メモリ | 157,404 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-30 15:10:29 |
| 合計ジャッジ時間 | 6,376 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 TLE * 1 |
| other | AC * 10 WA * 20 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int d = a;
for(int i=0; i < b - 1; i++)
{
d *= a;
}
int c = 998244353;
cout << c << endl;
d = d % c;
cout << d <<endl;
}
LV3zJigVW57oPGy