记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:4:15: error: stray '\357' in program
     int a = 10;
               ^
/in/foo.c:4:16: error: stray '\274' in program
     int a = 10;
                ^
/in/foo.c:4:17: error: stray '\233' in program
     int a = 10;
                 ^
/in/foo.c:5:9: error: expected ',' or ';' before 'int'
         int b = 20;
         ^~~
/in/foo.c:5:19: error: stray '\357' in program
         int b = 20;
                   ^
/in/foo.c:5:20: error: stray '\274' in program
         int b = 20;
                    ^
/in/foo.c:5:21: error: stray '\233' in program
         int b = 20;
                     ^
/in/foo.c:6:24: error: stray '\357' in program
         int sum = a + b;
                        ^
/in/foo.c:6:25: error: stray '\274' in program
         int sum = a + b;
                         ^
/in/foo.c:6:26: error: stray '\233' in program
         int sum = a + b;
                          ^
/in/foo.c:7:25: error: stray '\357' in program
         printf(% d, sum);
                         ^
/in/foo.c:7:26: error: stray '\274' in program
         printf(% d, sum);
                          ^
/in/foo.c:7:27: error: stray '\233' in program
         printf(% d, sum);
                           ^
/in/foo.c:8:17: error: stray '\357' in program
         return O;
                 ^
/in/foo.c:8:18: error: stray '\274' in program
         return O;
                  ^
/in/foo.c:8:19: error: stray '\233' in program
         return O;
                   ^
/in/foo.c:9:1: error: expected declaration or statement at end of input
 }
 ^
/in/foo.c:4:9: warning: unused variable 'a' [-Wunused-variable]
     int a = 10;
         ^

信息

递交者
类型
递交
语言
C
递交时间
2024-10-25 16:54:30
评测时间
2024-10-25 16:54:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes