# UVa11461 - Square Numbers [Prblem link](https://onlinejudge.org/external/114/11461.pdf) ## Review 無 ## Ans ```cpp= #include <iostream> using namespace std; int main(){ int a,b; cin>>a>>b; while(a!=0||b!=0){ int ans=0; for(int i=1;i*i<=b;i++){ if(i*i>=a)ans++; } cout<<ans<<endl; cin>>a>>b; } } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up