結果
| 問題 | No.2007 Arbitrary Mod (Easy) |
| コンテスト | |
| ユーザー |
ytft
|
| 提出日時 | 2022-07-29 16:33:59 |
| 言語 | PyPy3 (7.3.23) |
| 結果 |
AC
|
| 実行時間 | 62 ms / 2,000 ms |
| + 151µs | |
| コード長 | 211 bytes |
| 記録 | |
| コンパイル時間 | 225 ms |
| コンパイル使用メモリ | 95,976 KB |
| 実行使用メモリ | 78,976 KB |
| 最終ジャッジ日時 | 2026-08-18 06:42:43 |
| 合計ジャッジ時間 | 6,453 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 |
ソースコード
import sys def input():return sys.stdin.readline().strip() a,n=map(int,input().split()) temp=1 for i in range(n): temp*=a if temp>=pow(10,7): print(temp) print(0) sys.exit() print(pow(10,18)) print(temp)
ytft