結果

問題 No.3037 トグルトグルトグル!
ユーザー だれおん
提出日時 2025-02-28 21:43:31
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
TLE  
実行時間 -
コード長 188 bytes
コンパイル時間 2,134 ms
コンパイル使用メモリ 193,072 KB
実行使用メモリ 8,228 KB
最終ジャッジ日時 2025-02-28 21:43:40
合計ジャッジ時間 5,149 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 4 TLE * 1 -- * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main() {
    int N;
    cin >> N;
    int ans=0;
    int i=1;
    while(i*i<= N){
        i++;
        ans++;
    }
    cout<<ans<<endl;
}
0