Run ID:97378

提交时间:2024-11-15 09:09:58

#include <stdio.h> int main() { /* Write C code in this online editor and run it. */ int t, n; scanf("%d", &t); while (t--) { scanf("%d", &n); if (n%4==0 && n%100 != 0) printf("Yes"); else if (n % 400 == 0) printf("Yes"); else printf("No"); } return 0; }