提交时间:2023-10-19 15:17:45

运行 ID: 28679

#include <iostream> using namespace std; int main() { int t, i, year[100]; cin >> t; for (i = t; i > 0; i--) { cin >> year[i]; } while (t) { if (year[t] % 4) cout << "No" << endl; else cout << "Yes" << endl; t--; } }