結果
| 問題 |
No.2007 Arbitrary Mod (Easy)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-17 00:16:02 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 209 bytes |
| コンパイル時間 | 322 ms |
| コンパイル使用メモリ | 29,568 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-21 23:41:24 |
| 合計ジャッジ時間 | 5,803 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 30 |
ソースコード
#include<stdio.h>
int main(void)
{
long long int a,n,b=1;
scanf("%lld %lld",&a,&n);
for(int i=0;i<n;i++)
b*=a;
printf("%lld\n",b);
int M=10000000;
printf("%d\n",M);
printf("%lld\n",b%M);
return 0;
}