ある期間内の閏年を出力する問題. 問題自体は簡単,この記事書くのに1時間. #include <iostream> #include <cstdio> int main(){ int a, b, d = 0; while(scanf("%d%d", &a, &b), a && b){ if(d)puts(""); else d = 1; int c = 0; for(;a<=b;a++){ if(a % 4 == 0){ if(a % 10</cstdio></iostream>…
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。