結果

問題 No.1329 Square Sqsq
ユーザー onsen_manjuuuonsen_manjuuu
提出日時 2021-01-08 21:36:57
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 427 bytes
コンパイル時間 6,958 ms
コンパイル使用メモリ 405,316 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-04-28 02:22:37
合計ジャッジ時間 10,667 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 151 ms
6,944 KB
testcase_04 AC 152 ms
6,940 KB
testcase_05 AC 152 ms
6,940 KB
testcase_06 AC 152 ms
6,944 KB
testcase_07 AC 151 ms
6,940 KB
testcase_08 AC 150 ms
6,940 KB
testcase_09 AC 151 ms
6,940 KB
testcase_10 AC 152 ms
6,944 KB
testcase_11 AC 151 ms
6,944 KB
testcase_12 AC 152 ms
6,944 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>

using namespace std;
using ll = long long;
using pint = pair<int,int>;

#include <boost/multiprecision/cpp_int.hpp>
#include <boost/multiprecision/cpp_dec_float.hpp>
namespace mp = boost::multiprecision;
using Int = mp::cpp_int;                        // 任意長整数


int main()
{
	Int N;
   	string s(100000,'0');
  	s[0] = '1';
  	N = Int(s);
	Int n = sqrt(N);
	cout << n.str().size() << endl;
}
0