結果
| 問題 | No.1329 Square Sqsq |
| コンテスト | |
| ユーザー |
onsen_manjuuu
|
| 提出日時 | 2021-01-08 21:36:57 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 427 bytes |
| 記録 | |
| コンパイル時間 | 8,173 ms |
| コンパイル使用メモリ | 405,192 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-16 10:37:01 |
| 合計ジャッジ時間 | 13,509 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 14 |
ソースコード
#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;
}
onsen_manjuuu