結果
問題 |
No.508 超ゆとり教育
|
ユーザー |
|
提出日時 | 2017-04-30 17:16:34 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 151 bytes |
コンパイル時間 | 617 ms |
コンパイル使用メモリ | 67,900 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-13 23:50:42 |
合計ジャッジ時間 | 1,383 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 6 WA * 1 |
ソースコード
#include <iostream> #include <cmath> int main() { long long n; std::cin >> n; double r = sqrt(n / 3); std::cout << (int)ceil(r) << std::endl; }