eolymp
bolt
Try our new interface for solving problems
published at 1/9/24, 3:08:07 pm

help

published at 1/20/24, 12:23:35 pm

include <iostream>

include <cmath>

using namespace std; int main () { long long n; cin >> n; n=n+1; while(round(sqrt(n))!=sqrt(n)){ n++;
} cout<<n; } 100% C

published at 1/23/24, 8:16:43 pm

include <bits/stdc++.h>

using namespace std; int main(){ long long n,l; double m; cin>>n; n++; m = sqrt(n); l = m; while (m - l != 0) { n++; m = sqrt(n); l = m; } cout<<n; }