Untitled
unknown
plain_text
2 years ago
402 B
4
Indexable
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
typedef long long ll;
typedef string::size_type sz;
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
int t;
cin >> t;
while (t--)
{
int n;
cin >> n;
int x = n / 2020;
if (n % 2020 <= x)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
return EXIT_SUCCESS;
}Editor is loading...
Leave a Comment