結果

問題 No.8026 Third Power Problem
ユーザー conf
提出日時 2017-04-01 00:13:11
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 230 bytes
コンパイル時間 6,149 ms
コンパイル使用メモリ 287,028 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-07 14:03:51
合計ジャッジ時間 6,951 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
}
0