记录详情

Compile Error

/in/foo.cc:14:21: error: stray '\357' in program
             return  (y % 100 != 0 && y % 4 == 0) || y % 400 == 0;
                     ^
/in/foo.cc:14:22: error: stray '\274' in program
             return  (y % 100 != 0 && y % 4 == 0) || y % 400 == 0;
                      ^
/in/foo.cc:14:23: error: stray '\210' in program
             return  (y % 100 != 0 && y % 4 == 0) || y % 400 == 0;
                       ^
/in/foo.cc:14:50: error: stray '\357' in program
             return  (y % 100 != 0 && y % 4 == 0) || y % 400 == 0;
                                                  ^
/in/foo.cc:14:51: error: stray '\274' in program
             return  (y % 100 != 0 && y % 4 == 0) || y % 400 == 0;
                                                   ^
/in/foo.cc:14:52: error: stray '\211' in program
             return  (y % 100 != 0 && y % 4 == 0) || y % 400 == 0;
                                                    ^
/in/foo.cc: In member function 'int Date::isleap(int)':
/in/foo.cc:14:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             return  (y % 100 != 0 && y % 4 == 0) || y % 400 == 0;
                        ~~~~~~~~~~~~~^~~~~~~~~~~~~

信息

递交者
类型
递交
题目
P1004 OO1-4 日期类Date
语言
C++
递交时间
2024-06-01 19:20:17
评测时间
2024-06-01 19:20:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes