Compile Error
/in/foo.cc:24:47: error: empty character constant
24 | cout<<y<<' '<<m<< <<d<<' '<<h<<'';
| ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
7 | if(y%4==0&&y%100!=0||y%400==0)mon[2]=29;
| ~~~~~~^~~~~~~~~~
/in/foo.cc:24:33: error: expected primary-expression before '<<' token
24 | cout<<y<<' '<<m<< <<d<<' '<<h<<'';
| ^~
信息
- 递交者
- 类型
- 递交
- 题目
- P2881 时间跨越2025.3GESP2级T2
- 语言
- C++
- 递交时间
- 2026-02-09 20:02:54
- 评测时间
- 2026-02-09 20:02:54
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes