結果

問題 No.508 超ゆとり教育
ユーザー tansunogon
提出日時 2017-05-05 03:50:06
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 268 bytes
コンパイル時間 556 ms
コンパイル使用メモリ 58,732 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-14 07:29:46
合計ジャッジ時間 1,074 ms
ジャッジサーバーID
(参考情報)
judge6 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>
using namespace std;

struct iostream_init_struct
{ 
	iostream_init_struct()
	{
		std::cin.tie(0);
		std::cin.sync_with_stdio(false);
	}
} iostream_init;

int main(void)
{
	int n;
	cin >> n;
	cout << int(sqrt(n / 3) + 1) << endl;
}
0