結果
| 問題 |
No.8026 Third Power Problem
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-03-31 23:01:33 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 233 bytes |
| コンパイル時間 | 417 ms |
| コンパイル使用メモリ | 64,004 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-07 05:13:09 |
| 合計ジャッジ時間 | 1,140 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 25 |
ソースコード
#include<iostream>
typedef long long int ll;
using namespace std;
const int MOD = 1000000007;
const int INF = 1000000;
ll N;
int main(){
ios_base::sync_with_stdio(false);
cin>>N;
cout<<((N*N)%MOD)*N%MOD<<endl;
}