#include using namespace std; typedef long long ll; typedef long double ld; #define REP(i, n) for (int i = 0; i < (n); ++i) #define REPR(i, n) for (int i = n - 1; i >= 0; --i) #define FOR(i, m, n) for (int i = m; i < n; ++i) #define FORR(i, m, n) for (int i = m; i >= n; --i) #define ALL(v) (v).begin(),(v).end() templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> x >> y; vector f(y+1); FOR(i,-3200,3201){ FOR(j,-3200,3201){ if(i*i+j*j<=y){ f[i*i+j*j]++; } } } int ans=0; FOR(i,x,y+1){ chmax(ans,f[i]); } cout << ans << endl; }