记录详情

Compile Error

foo.cc:5:1: error: extended character   is not valid in an identifier
    5 | int a, b, c, d;
      | ^
foo.cc:5:7: error: extended character   is not valid in an identifier
    5 | int a, b, c, d;
      |       ^
foo.cc:5:10: error: extended character   is not valid in an identifier
    5 | int a, b, c, d;
      |          ^
foo.cc:5:13: error: extended character   is not valid in an identifier
    5 | int a, b, c, d;
      |             ^
foo.cc:6:18: error: extended character   is not valid in an identifier
    6 | scanf("%d,%d,%d", &a, &b, &c);
      |                  ^
foo.cc:6:22: error: extended character   is not valid in an identifier
    6 | scanf("%d,%d,%d", &a, &b, &c);
      |                      ^
foo.cc:6:26: error: extended character   is not valid in an identifier
    6 | scanf("%d,%d,%d", &a, &b, &c);
      |                          ^
foo.cc:7:1: error: extended character   is not valid in an identifier
    7 | if (a < b)
      | ^
foo.cc:7:5: error: extended character   is not valid in an identifier
    7 | if (a < b)
      |     ^
foo.cc:7:8: error: extended character   is not valid in an identifier
    7 | if (a < b)
      |        ^
foo.cc:8:1: error: extended character   is not valid in an identifier
    8 | d = a;
      | ^
foo.cc:8:4: error: extended character   is not valid in an identifier
    8 | d = a;
      |    ^
foo.cc:9:1: error: extended character   is not valid in an identifier
    9 | a = b;
      | ^
foo.cc:9:4: error: extended character   is not valid in an identifier
    9 | a = b;
      |    ^
foo.cc:10:1: error: extended character   is not valid in an identifier
   10 | b = d;
      | ^
foo.cc:10:4: error: extended character   is not valid in an identifier
   10 | b = d;
      |    ^
foo.cc:11:1: error: extended character   is not valid in an identifier
   11 | if (a < c)
      | ^
foo.cc:11:5: error: extended character   is not valid in an identifier
   11 | if (a < c)
      |     ^
foo.cc:11:8: error: extended character   is not valid in an identifier
   11 | if (a < c)
      |        ^
foo.cc:12:1: error: extended character   is not valid in an identifier
   12 | d = a;
      | ^
foo.cc:12:4: error: extended character   is not valid in an identifier
   12 | d = a;
      |    ^
foo.cc:13:1: error: extended character   is not valid in an identifier
   13 | a = c;
      | ^
foo.cc:13:4: error: extended character   is not valid in an identifier
   13 | a = c;
      |    ^
foo.cc:14:1: error: extended character   is not valid in an identifier
   14 | c = d;
      | ^
foo.cc:14:4: error: extended character   is not valid in an identifier
   14 | c = d;
      |    ^
foo.cc:15:1: error: extended character   is not valid in an identifier
   15 | if (b < c) 
      | ^
foo.cc:15:5: error: extended character   is not valid in an identifier
   15 | if (b < c) 
      |     ^
foo.cc:15:8: error: extended character   is not valid in an identifier
   15 | if (b < c) 
      |        ^
foo.cc:15:11: error: extended character   is not valid in an identifier
   15 | if (b < c) 
      |           ^
foo.cc:16:1: error: extended character   is not valid in an identifier
   16 | d = b;
      | ^
foo.cc:16:4: error: extended character   is not valid in an identifier
   16 | d = b;
      |    ^
foo.cc:17:1: error: extended character   is not valid in an identifier
   17 | b = c;
      | ^
foo.cc:17:4: error: extended character   is not valid in an identifier
   17 | b = c;
      |    ^
foo.cc:18:1: error: extended character   is not valid in an identifier
   18 | c = d;
      | ^
foo.cc:18:4: error: extended character   is not valid in an identifier
   18 | c = d;
      |    ^
foo.cc:21:1: error: extended character   is not valid in an identifier
   21 |  return 0;
      | ^
foo.cc:21:1: error: extended character   is not valid in an identifier
foo.cc: In function 'int main()':
foo.cc:5:1: error: 'int\U000000a0a' was not declared in this scope
    5 | int a, b, c, d;
      | ^~~~~
foo.cc:5:7: error: '\U000000a0b' was not declared in this scope
    5 | int a, b, c, d;
      |       ^~
foo.cc:5:10: error: '\U000000a0c' was not declared in this scope
    5 | int a, b, c, d;
      |          ^~
foo.cc:5:13: error: '\U000000a0d' was not declared in this scope
    5 | int a, b, c, d;
      |             ^~
foo.cc:6:18: error: '\U000000a0' was not declared in this scope
    6 | scanf("%d,%d,%d", &a, &b, &c);
      |                  ^
foo.cc:6:20: error: 'a' was not declared in this scope
    6 | scanf("%d,%d,%d", &a, &b, &c);
      |                    ^
foo.cc:6:24: error: 'b' was not declared in this scope
    6 | scanf("%d,%d,%d", &a, &b, &c);
      |                        ^
foo.cc:6:28: error: 'c' was not declared in this scope
    6 | scanf("%d,%d,%d", &a, &b, &c);
      |                            ^
foo.cc:7:5: error: 'a\U000000a0' was not declared in this scope
    7 | if (a < b)
      |     ^~
foo.cc:7:1: error: 'if\U000000a0' was not declared in this scope
    7 | if (a < b)
      | ^~~
foo.cc:10:1: error: 'b\U000000a0' was not declared in this scope
   10 | b = d;
      | ^~
foo.cc:14:1: error: 'c\U000000a0' was not declared in this scope
   14 | c = d;
      | ^~
foo.cc:21:1: error: '\U000000a0return\U000000a00' was not declared in this scope
   21 |  return 0;
      | ^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
比赛
2022年迎新赛(第一场)
语言
C++
递交时间
2022-08-15 15:30:32
评测时间
2022-08-15 15:30:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes