| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 132639 | 张咏灏 | 闰年的数量 | C++ | Wrong Answer | 1 MS | 268 KB | 265 | 2025-10-11 20:50:45 |
#include<iostream> using namespace std; int main(){ int a,b,c=1; cin>>a>>b; for(int i=0;i<b-a+1;i++){ if(a%4==0){ a++; c++; }else{ a++; } } cout<<c; return 0; }
------Input------
685 1586
------Answer-----
218
------Your output-----
113