Run ID:7636

提交时间:2025-05-10 14:32:34

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; bool years(int x){ if(x%400!=0&&x%100==0){ return false; } else{ if(x%4==0||x%400==0){ return true; } else{ return false; } } } int main(){ int l,t; for(int i=1;i<=l;i++){ cin>>t; if(years(t)) cout<< } return 0; }