| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 139954 | 陈骏睿 | 阶乘的和 | C++ | Wrong Answer | 0 MS | 264 KB | 425 | 2025-12-13 12:11:02 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int x,y,sum=0; cin>>x>>y; for(int i=x;i<=y;i++){ if(i%4==0&&i%100!=0||i%400==0) sum++; } cout<<sum<<endl; return 0; }
------Input------
4
------Answer-----
33
------Your output-----
0