Run ID:90608

提交时间:2024-09-16 09:43:50

#include<bits/stdc++.h> using namespace std; int x,y,s,i; int main(){ cin>>x>>y; for(i=x;i<=y;i++){ if(i%4==0&&i%100!=0||i%400==0) s++; } cout<<s; return 0; }