Compile Error
/in/foo.cc:1:1: error: 'include' does not name a type include<bits/stdc++.h> ^~~~~~~ /in/foo.cc: In function 'int main()': /in/foo.cc:6:2: error: 'cin' was not declared in this scope cin>>x; ^~~ /in/foo.cc:7:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(x%4==0&&x%100!=0||x%400==0) ~~~~~~^~~~~~~~~~ /in/foo.cc:8:2: error: 'cout' was not declared in this scope cout<<"YES"; ^~~~ /in/foo.cc:10:2: error: 'cout' was not declared in this scope cout<<"NO"; ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1001 判断闰年
- 语言
- C++
- 递交时间
- 2024-03-09 00:29:35
- 评测时间
- 2024-03-09 00:29:36
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes