結果
| 問題 |
No.8026 Third Power Problem
|
| コンテスト | |
| ユーザー |
rlangevin
|
| 提出日時 | 2023-01-15 15:27:44 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 53 ms / 2,000 ms |
| コード長 | 165 bytes |
| コンパイル時間 | 553 ms |
| コンパイル使用メモリ | 81,920 KB |
| 実行使用メモリ | 51,968 KB |
| 最終ジャッジ日時 | 2024-12-28 08:13:35 |
| 合計ジャッジ時間 | 2,860 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 25 |
ソースコード
from math import gcd N = int(input()) # M = int(input()) # rn = 992086464 # rm = 183964094 # print(gcd(N**3 - rn, M**3 - rm)) mod = 1000000007 print(pow(N, 3, mod))
rlangevin