結果

問題 No.508 超ゆとり教育
ユーザー Naoyk1212
提出日時 2017-05-01 17:23:46
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 170 bytes
コンパイル時間 1,431 ms
コンパイル使用メモリ 158,876 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-14 01:56:45
合計ジャッジ時間 1,792 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
#define int long long

signed main(){
	int n;
	cin >> n;
	double ans = (double)n / 3;	
	cout << (int)sqrt(ans) + 1 << endl;
}
0