結果
| 問題 | No.2007 Arbitrary Mod (Easy) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-17 00:26:19 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 199 bytes |
| 記録 | |
| コンパイル時間 | 153 ms |
| コンパイル使用メモリ | 38,368 KB |
| 最終ジャッジ日時 | 2026-02-22 09:35:11 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | TLE * 1 -- * 2 |
| other | -- * 30 |
ソースコード
#include<stdio.h>
int main(void)
{
unsigned long long int a,n,b=1;
scanf("%ulld %lld",&a,&n);
for(int i=0;i<n;i++)
b*=a;
int M=10000000;
printf("%d\n",M);
printf("%ulld\n",b%M);
return 0;
}