Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
83960 杜奕辰 闰年的数量 C Compile Error 0 MS 0 KB 253 2024-07-15 10:41:42

Tests(0/0):


Code:

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


Run Info:

Main.c:1:24: fatal error: bits/stdc++.h: No such file or directory
 #include
                        ^
compilation terminated.