Rank Username Points ▾ Problems About
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501
MinhMiw
Phạm Như Minh
0 0

MinhMiw

18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501
jy
Dương Kiến Khải, PTNK
0 0
18501 0 0

include<bits/stdc++.h>

using namespace std;
long long n,x;
bool scp(long long m)
{
long long x=sqrt(m);
if(x*x==m) return true;
else return false;
}
main()
{
long long L,R,dem=0;
cin>>L>>R;
for (int i=L;i<=R;i++)
if (scp(i)) dem++;
cout<<dem;
}

18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501 0 0
18501
cpbeginner1332
Vũ Quốc Lâm, PTNK
0 0
18501 0 0
18501 0 0