結果
| 問題 | No.8026 Third Power Problem |
| コンテスト | |
| ユーザー |
conf
|
| 提出日時 | 2017-04-01 00:13:11 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 230 bytes |
| 記録 | |
| コンパイル時間 | 5,024 ms |
| コンパイル使用メモリ | 340,864 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-03-29 04:46:21 |
| 合計ジャッジ時間 | 5,463 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 25 |
ソースコード
#include <iostream>
#include <boost/multiprecision/cpp_int.hpp>
namespace mp = boost::multiprecision;
int main()
{
mp::cpp_int x = 88887, m;
m=mp::cpp_int("1151171888");
x=x*x*x%m;
std::cout << x <<std::endl;
}
conf