记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:11: error: stray '\357' in program
    int a,b,sum;
           ^
/in/foo.c:5:12: error: stray '\274' in program
    int a,b,sum;
            ^
/in/foo.c:5:13: error: stray '\214' in program
    int a,b,sum;
             ^
/in/foo.c:5:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sum'
    int a,b,sum;
              ^~~
/in/foo.c:5:17: error: stray '\357' in program
    int a,b,sum;
                 ^
/in/foo.c:5:18: error: stray '\274' in program
    int a,b,sum;
                  ^
/in/foo.c:5:19: error: stray '\233' in program
    int a,b,sum;
                   ^
/in/foo.c:6:68: error: stray '\357' in program
     printf("输入两个整数a,b,数据范围为[-10^10,10^10]");
                                                                    ^
/in/foo.c:6:69: error: stray '\274' in program
     printf("输入两个整数a,b,数据范围为[-10^10,10^10]");
                                                                     ^
/in/foo.c:6:70: error: stray '\233' in program
     printf("输入两个整数a,b,数据范围为[-10^10,10^10]");
                                                                      ^
/in/foo.c:8:2: error: 'sum' undeclared (first use in this function)
  sum=a+b;
  ^~~
/in/foo.c:8:2: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:8:8: error: 'b' undeclared (first use in this function)
  sum=a+b;
        ^

信息

递交者
类型
自测
题目
欢迎来到南师大计算机学院OnlineJudge!
语言
C
递交时间
2019-03-24 20:04:29
评测时间
2019-03-24 20:04:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes