Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
8286 吴承熹 闰年的数量 C++ Compile Error 0 MS 0 KB 512 2025-07-02 13:23:03

Tests(0/0):


Code:

#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; bool s(int i){ if(i%100==0){ if(i%400==0){ z++; } } else if(i%4==0){ z++; } } int main(){ int x,y,z=0; cin>>x>>y; for(int i=x;i<=y;i++){ s(i); } cout<<z<<endl; return 0; }


Run Info:

mount: mount /usr on /home/judge/jnoj/judge/run/0/usr failed: No space left on device