记录详情

Compile Error

/in/foo.cc:4:14: warning: missing terminating " character
  scanf(%d&d&d",&a,&b,&c);
              ^
/in/foo.cc:4:14: error: missing terminating " character
  scanf(%d&d&d",&a,&b,&c);
              ^~~~~~~~~~~~
/in/foo.cc:7:16: error: stray '\' in program
    printf(%d %d\n£¬b,a);
                ^
/in/foo.cc:7:18: error: stray '\302' in program
    printf(%d %d\n£¬b,a);
                  ^
/in/foo.cc:7:19: error: stray '\243' in program
    printf(%d %d\n£¬b,a);
                   ^
/in/foo.cc:7:20: error: stray '\302' in program
    printf(%d %d\n£¬b,a);
                    ^
/in/foo.cc:7:21: error: stray '\254' in program
    printf(%d %d\n£¬b,a);
                     ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:4:8: error: expected primary-expression before '%' token
  scanf(%d&d&d",&a,&b,&c);
        ^
/in/foo.cc:4:9: error: 'd' was not declared in this scope
  scanf(%d&d&d",&a,&b,&c);
         ^
/in/foo.cc:8:3: error: 'else' without a previous 'if'
   else 
   ^~~~
/in/foo.cc:11:26: error: 'printf' was not declared in this scope
     printf("&d &d\n", c,a);
                          ^
/in/foo.cc:13:26: error: 'printf' was not declared in this scope
     printf("&d &d\n", a,c);
                          ^
/in/foo.cc:14:5: error: 'else' without a previous 'if'
     else
     ^~~~
/in/foo.cc:16:25: error: 'printf' was not declared in this scope
    printf("%d %d\n", a,b);
                         ^
/in/foo.cc:20:26: error: 'printf' was not declared in this scope
     printf("&d &d\n", c,b);
                          ^
/in/foo.cc:22:26: error: 'printf' was not declared in this scope
     printf("&d &d\n", b,c);
                          ^
/in/foo.cc:23:10: error: expected ';' at end of input
   return 0
          ^
/in/foo.cc:23:10: error: expected '}' at end of input

信息

递交者
类型
递交
题目
A1-2 分支结构练习:三数的特征值
比赛
泰院2401程序设计基础作业赛第一场(牛刀小试)
语言
C++
递交时间
2024-10-21 17:01:27
评测时间
2024-10-21 17:01:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes