记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:7:4: error: stray '\357' in program
  if(year%4==0)
    ^
/in/foo.c:7:5: error: stray '\274' in program
  if(year%4==0)
     ^
/in/foo.c:7:6: error: stray '\210' in program
  if(year%4==0)
      ^
/in/foo.c:7:7: error: expected '(' before 'year'
  if(year%4==0)
       ^~~~
/in/foo.c:7:7: warning: statement with no effect [-Wunused-value]
/in/foo.c:7:16: error: stray '\357' in program
  if(year%4==0)
                ^
/in/foo.c:7:17: error: stray '\274' in program
  if(year%4==0)
                 ^
/in/foo.c:7:18: error: stray '\211' in program
  if(year%4==0)
                  ^
/in/foo.c:5:24: warning: unused variable 'leap' [-Wunused-variable]
     int year,month,day,leap;
                        ^~~~
/in/foo.c:5:20: warning: unused variable 'day' [-Wunused-variable]
     int year,month,day,leap;
                    ^~~

信息

递交者
类型
递交
题目
A1-3 分支结构练习:月份天数
语言
C
递交时间
2024-08-27 14:56:01
评测时间
2024-08-27 14:56:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes