結果

問題 No.1329 Square Sqsq
ユーザー くれちーくれちー
提出日時 2021-01-08 21:51:06
言語 C++17(gcc12)
(gcc 12.3.0 + boost 1.87.0)
結果
AC  
実行時間 185 ms / 2,000 ms
コード長 284 bytes
コンパイル時間 24,577 ms
コンパイル使用メモリ 386,832 KB
最終ジャッジ日時 2025-01-17 11:43:18
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

#pragma GCC target("avx2,bmi,bmi2")
#pragma GCC optimize("O3")

#include <boost/multiprecision/cpp_int.hpp>
#include <iostream>

using boost::multiprecision::cpp_int;

int main() {
  cpp_int n;
  std::cin >> n;

  size_t ans = sqrt(n).str().size();
  std::cout << ans << std::endl;
}
0