UVA 11461 - Square Numbers UVA • Sep 1, 2020 Problem PDFSolution:#include #include int main() { int t,a,b,c,i,d; while(scanf("%d %d", &a, &b)==2) { if(a==0&&b==0) break; d=0; for(i=a;i<=b;i++) { c=sqrt(i); if(c*c==i) d++; } printf("%d\n", d); } return 0; } https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/11461/11461.cpp Tags UVA Competitive Programming Shipu Ahamed Recommended for you UVA UVA 913 - Joana and the Odd Numbers 4 years ago • 1 min read UVA UVA 871 - Counting Cells in a Blob 4 years ago • 3 min read UVA UVA 866 - Intersecting Line Segments 4 years ago • 3 min read