結果

問題 No.508 超ゆとり教育
ユーザー eiya5498513
提出日時 2017-04-27 23:37:44
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 495 bytes
コンパイル時間 928 ms
コンパイル使用メモリ 100,948 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-13 15:20:42
合計ジャッジ時間 1,475 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#if 1
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <queue>
#include <stack>
#include <array>
#include <deque>
#include <algorithm>
#include <utility>
#include <cstdint>
#include <functional>
#include <iomanip>
#include <numeric>
#include <assert.h>
#include <complex>
int main() {
	int64_t n;
	std::cin >> n;
	std::cout << (int64_t)(sqrt(n*1.0 / 3) +1) << std::endl;
}
#endif
0