1

Anonymous
c_cpp
10/14/2023 4:42 AM
352 B
22
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...