結果
| 問題 |
No.8026 Third Power Problem
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-03-31 22:59:15 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 225 bytes |
| コンパイル時間 | 543 ms |
| コンパイル使用メモリ | 64,388 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-07 05:11:46 |
| 合計ジャッジ時間 | 1,298 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 WA * 7 |
ソースコード
#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*N%MOD<<endl;
}