记录详情

Compile Error

/in/foo.cc:17:8: error: stray '@' in program
   17 |  武子涵@石湖中学 (武子涵) LV 10 @ 4 年前
      |        ^
/in/foo.cc:17:33: error: stray '@' in program
   17 |  武子涵@石湖中学 (武子涵) LV 10 @ 4 年前
      |                                 ^
/in/foo.cc:61:8: error: stray '@' in program
   61 |  姜浩宇@江陵实验初级中学(initial fish) (老红糖了) LV 7 @ 4 年前
      |        ^
/in/foo.cc:61:56: error: stray '@' in program
   61 |  姜浩宇@江陵实验初级中学(initial fish) (老红糖了) LV 7 @ 4 年前
      |                                                        ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    6 |     if(y%4==0&&y%100!=0||y%400==0)
      |        ~~~~~~^~~~~~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:14:1: error: 'Copy' does not name a type
   14 | Copy
      | ^~~~
/in/foo.cc:26:5: error: redefinition of 'int main()'
   26 | int main()
      |     ^~~~
/in/foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()//水题
      |     ^~~~
/in/foo.cc:59:1: error: expected unqualified-id before '-' token
   59 | -1
      | ^
/in/foo.cc:64:5: error: redefinition of 'int main()'
   64 | int main()
      |     ^~~~
/in/foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()//水题
      |     ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:70:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   70 | if(y%4==0&&y%100!=0||y%400==0)
      |    ~~~~~~^~~~~~~~~~

信息

递交者
类型
递交
题目
A1-3 分支结构练习:月份天数
语言
C++
递交时间
2025-02-22 19:50:35
评测时间
2025-02-22 19:50:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes