记录详情

Compile Error

/in/foo.c:3:11: error: stray '\357' in program
 int main();
           ^
/in/foo.c:3:12: error: stray '\274' in program
 int main();
            ^
/in/foo.c:3:13: error: stray '\233' in program
 int main();
             ^
/in/foo.c: In function 'main':
/in/foo.c:6:29: error: stray '\357' in program
  scanf("%d %d",&year,&month);
                             ^
/in/foo.c:6:30: error: stray '\274' in program
  scanf("%d %d",&year,&month);
                              ^
/in/foo.c:6:31: error: stray '\233' in program
  scanf("%d %d",&year,&month);
                               ^
/in/foo.c:7:2: error: expected ';' before 'printf'
  printf("year=%d,month=%d",year,month);
  ^~~~~~
/in/foo.c:28:1: error: expected declaration or statement at end of input
 }
 ^

信息

递交者
类型
递交
题目
A1-3 分支结构练习:月份天数
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C
递交时间
2024-08-20 02:44:43
评测时间
2024-08-20 02:44:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes