結果
| 問題 | No.1287 えぬけー |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-10-01 15:21:13 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 113 ms / 2,000 ms |
| + 707µs | |
| コード長 | 187 bytes |
| 記録 | |
| コンパイル時間 | 101 ms |
| コンパイル使用メモリ | 64,512 KB |
| 実行使用メモリ | 60,600 KB |
| 最終ジャッジ日時 | 2026-11-04 17:16:47 |
| 合計ジャッジ時間 | 2,292 ms |
|
ジャッジサーバーID (参考情報) |
judge7_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 6 |
ソースコード
import sys input = lambda:sys.stdin.readline().rstrip() mod = 10**9+7 t = int(input()) for _ in range(t): x, k = map(int, input().split()) print(pow(x, pow(k, 5*10**8+1, mod-1), mod))