1
unknown
c_cpp
2 years ago
262 B
11
Indexable
#include <iostream>
int main() {
unsigned int Start_year;
std::cin >> Start_year;
Start_year++;
while (not(Start_year % 100 == 0 and Start_year % 400 == 0) and not(Start_year % 4 == 0)) {
std::cout << Start_year++ << std::endl;
}
return 0;
}Editor is loading...