记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:45:3: error: case label not within a switch statement
   case 0:puts("A!=B");break;
   ^~~~
/in/foo.c:45:23: error: break statement not within loop or switch
   case 0:puts("A!=B");break;
                       ^~~~~
/in/foo.c:46:3: error: case label not within a switch statement
   case 1:puts("A=B");break;
   ^~~~
/in/foo.c:46:22: error: break statement not within loop or switch
   case 1:puts("A=B");break;
                      ^~~~~
/in/foo.c:47:3: error: case label not within a switch statement
   case 2:puts("A rotate 90,A=B");
   ^~~~
/in/foo.c: In function 'equal':
/in/foo.c:13:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
3-1 改错题
语言
C
递交时间
2019-10-18 23:27:22
评测时间
2019-10-18 23:27:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes