| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 83989 | 杜奕辰 | 闰年的数量 | C | Compile Error | 0 MS | 0 KB | 341 | 2024-07-15 10:49:42 |
#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;ac cin>>x>>y; for(int i=x; i<=y; i++) { if(m(i)) { n++; } } cout<<n; return 0; }
Main.c:1:24: fatal error: bits/stdc++.h: No such file or directory
#include
^
compilation terminated.