結果
| 問題 | No.8026 Third Power Problem |
| コンテスト | |
| ユーザー |
monnu
|
| 提出日時 | 2021-07-15 01:19:45 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 269 bytes |
| 記録 | |
| コンパイル時間 | 590 ms |
| コンパイル使用メモリ | 89,632 KB |
| 実行使用メモリ | 6,144 KB |
| 最終ジャッジ日時 | 2026-03-25 09:46:50 |
| 合計ジャッジ時間 | 1,440 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 25 |
ソースコード
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cassert>
#include <map>
#include <queue>
using namespace std;
#define MOD 1000000007
using ll=long long;
int main(){
ll N;
cin>>N;
ll ans=(N*N%MOD)*N%MOD;
cout<<ans<<endl;
}
monnu