记录详情

Compile Error

foo.c: In function 'main':
foo.c:6:3: error: expected ',' or ';' before 'scanf'
   scanf("%d %d %d",&y,&m,&d)
   ^~~~~
foo.c:5:8: warning: unused variable 'mon' [-Wunused-variable]
    int mon[]={31,28,31,30,31,30,31,31,30,31,30,31}
        ^~~
foo.c:4:15: warning: unused variable 'b' [-Wunused-variable]
 { int y,m,d,a,b;
               ^
foo.c:4:13: warning: unused variable 'a' [-Wunused-variable]
 { int y,m,d,a,b;
             ^
foo.c:4:11: warning: unused variable 'd' [-Wunused-variable]
 { int y,m,d,a,b;
           ^
foo.c:4:9: warning: unused variable 'm' [-Wunused-variable]
 { int y,m,d,a,b;
         ^
foo.c:4:7: warning: unused variable 'y' [-Wunused-variable]
 { int y,m,d,a,b;
       ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
比赛
2021年中北算法竞赛队招新测试
语言
C
递交时间
2021-10-24 17:15:57
评测时间
2021-10-24 17:15:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes