結果
| 問題 |
No.8026 Third Power Problem
|
| コンテスト | |
| ユーザー |
monnu
|
| 提出日時 | 2021-07-15 01:19:45 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 269 bytes |
| コンパイル時間 | 765 ms |
| コンパイル使用メモリ | 74,612 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-04 01:36:32 |
| 合計ジャッジ時間 | 1,652 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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