using namespace std;
int main()
{
int N,year;
cin >> N;
for (int i = 0;i < N; i++)
{
cin >> year;
if (year % 400 == 0)
{
cout << "Bissextile Year" << endl;
}
else if (year % 4 == 0 && year % 100 != 0)
{
cout << "Bissextile Year" << endl;
}
else
{
cout << "Common Year" << endl;
}
}
return 0;
}
沒有留言:
張貼留言