Run ID:164779
提交时间:2026-11-07 14:47:13
#include<bits/stdc++.h> using namespace std; int r(int x,int y){ int s=0; for(int i=x;i<=y;i++){ if(i%4==0&&i%100!=0||i%400==0){ s++; } } return s; } int main(){ int a,b; cin>>a>>b; cout<<r(a,b); return 0; }