結果
問題 | No.508 超ゆとり教育 |
ユーザー | eiya5498513 |
提出日時 | 2017-04-27 23:16:45 |
言語 | C++14 (gcc 13.2.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 471 bytes |
コンパイル時間 | 721 ms |
コンパイル使用メモリ | 90,192 KB |
実行使用メモリ | 4,356 KB |
最終ジャッジ日時 | 2023-10-11 16:41:50 |
合計ジャッジ時間 | 1,409 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,348 KB |
testcase_01 | AC | 1 ms
4,352 KB |
testcase_02 | AC | 2 ms
4,348 KB |
testcase_03 | AC | 2 ms
4,356 KB |
testcase_04 | AC | 1 ms
4,348 KB |
testcase_05 | AC | 2 ms
4,348 KB |
testcase_06 | AC | 2 ms
4,352 KB |
testcase_07 | AC | 1 ms
4,352 KB |
ソースコード
#include <iostream> #include <fstream> #include <string> #include <vector> #include <map> #include <set> #include <queue> #include <stack> #include <deque> #include <algorithm> #include <utility> #include <stdint.h> #include <string.h> #include <functional> #include <iomanip> #include <numeric> #include <string> int main() { int64_t N; std::cin >> N; for (int64_t i = 1; i <= 2000000; ++i) { if (i*i*3 >= N) { std::cout << i << std::endl; return 0; } } }