1

mail@pastecode.io avatar
unknown
c_cpp
a year ago
262 B
4
Indexable
Never
#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;
}