记录详情

Compile Error

/in/foo.c:2:1: error: unknown type name 'using'
 using namespace std;
 ^~~~~
/in/foo.c:2:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
 using namespace std;
                 ^~~
/in/foo.c: In function 'main':
/in/foo.c:8:8: warning: missing terminating " character
  scanf("%d%d%d,&a,&c);
        ^
/in/foo.c:8:8: error: missing terminating " character
  scanf("%d%d%d,&a,&c);
        ^~~~~~~~~~~~~~~
/in/foo.c:9:2: error: expected expression before 'if'
  if(a<b)
  ^~
/in/foo.c:23:1: error: expected ';' before '}' token
 }
 ^
/in/foo.c:6:6: warning: unused variable 'temp' [-Wunused-variable]
  int temp;
      ^~~~
/in/foo.c:5:10: warning: unused variable 'c' [-Wunused-variable]
  int a,b,c;
          ^
/in/foo.c:5:8: warning: unused variable 'b' [-Wunused-variable]
  int a,b,c;
        ^
/in/foo.c:5:6: warning: unused variable 'a' [-Wunused-variable]
  int a,b,c;
      ^

信息

递交者
类型
自测
题目
A1-1 分支结构练习:三数排序
语言
C
递交时间
2024-10-21 14:49:48
评测时间
2024-10-21 14:49:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes