记录详情

Compile Error

foo.c: In function 'main':
foo.c:10:3: error: stray '\302' in program
     scanf("%d", &arr[i]);       //输入三个整数
   ^
foo.c:10:4: error: stray '\240' in program
     scanf("%d", &arr[i]);       //输入三个整数
    ^
foo.c:10:28: error: stray '\302' in program
     scanf("%d", &arr[i]);       //输入三个整数
                            ^
foo.c:10:29: error: stray '\240' in program
     scanf("%d", &arr[i]);       //输入三个整数
                             ^
foo.c:10:31: error: stray '\302' in program
     scanf("%d", &arr[i]);       //输入三个整数
                               ^
foo.c:10:32: error: stray '\240' in program
     scanf("%d", &arr[i]);       //输入三个整数
                                ^
foo.c:10:34: error: stray '\302' in program
     scanf("%d", &arr[i]);       //输入三个整数
                                  ^
foo.c:10:35: error: stray '\240' in program
     scanf("%d", &arr[i]);       //输入三个整数
                                   ^
foo.c:12:1: error: stray '\302' in program
     for(i=0; i<2; i++)             //控制循环趟数
 ^
foo.c:12:2: error: stray '\240' in program
     for(i=0; i<2; i++)             //控制循环趟数
  ^
foo.c:12:4: error: stray '\302' in program
     for(i=0; i<2; i++)             //控制循环趟数
    ^
foo.c:12:5: error: stray '\240' in program
     for(i=0; i<2; i++)             //控制循环趟数
     ^
foo.c:12:26: error: stray '\302' in program
     for(i=0; i<2; i++)             //控制循环趟数
                          ^
foo.c:12:27: error: stray '\240' in program
     for(i=0; i<2; i++)             //控制循环趟数
                           ^
foo.c:12:29: error: stray '\302' in program
     for(i=0; i<2; i++)             //控制循环趟数
                             ^
foo.c:12:30: error: stray '\240' in program
     for(i=0; i<2; i++)             //控制循环趟数
                              ^
foo.c:12:32: error: stray '\302' in program
     for(i=0; i<2; i++)             //控制循环趟数
                                ^
foo.c:12:33: error: stray '\240' in program
     for(i=0; i<2; i++)             //控制循环趟数
                                 ^
foo.c:12:35: error: stray '\302' in program
     for(i=0; i<2; i++)             //控制循环趟数
                                   ^
foo.c:12:36: error: stray '\240' in program
     for(i=0; i<2; i++)             //控制循环趟数
                                    ^
foo.c:12:38: error: stray '\302' in program
     for(i=0; i<2; i++)             //控制循环趟数
                                      ^
foo.c:12:39: error: stray '\240' in program
     for(i=0; i<2; i++)             //控制循环趟数
                                       ^
foo.c:12:41: error: stray '\302' in program
     for(i=0; i<2; i++)             //控制循环趟数
                                         ^
foo.c:12:42: error: stray '\240' in program
     for(i=0; i<2; i++)             //控制循环趟数
                                          ^
foo.c:14:3: error: stray '\302' in program
      for(j=0; j< 2-i; j++)      //两两比较
   ^
foo.c:14:4: error: stray '\240' in program
      for(j=0; j< 2-i; j++)      //两两比较
    ^
foo.c:14:6: error: stray '\302' in program
      for(j=0; j< 2-i; j++)      //两两比较
      ^
foo.c:14:7: error: stray '\240' in program
      for(j=0; j< 2-i; j++)      //两两比较
       ^
foo.c:14:30: error: stray '\302' in program
      for(j=0; j< 2-i; j++)      //两两比较
                              ^
foo.c:14:31: error: stray '\240' in program
      for(j=0; j< 2-i; j++)      //两两比较
                               ^
foo.c:14:33: error: stray '\302' in program
      for(j=0; j< 2-i; j++)      //两两比较
                                 ^
foo.c:14:34: error: stray '\240' in program
      for(j=0; j< 2-i; j++)      //两两比较
                                  ^
foo.c:14:36: error: stray '\302' in program
      for(j=0; j< 2-i; j++)      //两两比较
                                    ^
foo.c:14:37: error: stray '\240' in program
      for(j=0; j< 2-i; j++)      //两两比较
                                     ^
foo.c:16:3: error: stray '\302' in program
    if(arr[j]<arr[j+1])      //交换变量
   ^
foo.c:16:4: error: stray '\240' in program
    if(arr[j]<arr[j+1])      //交换变量
    ^
foo.c:16:25: error: stray '\302' in program
    if(arr[j]<arr[j+1])      //交换变量
                         ^
foo.c:16:26: error: stray '\240' in program
    if(arr[j]<arr[j+1])      //交换变量
                          ^
foo.c:16:28: error: stray '\302' in program
    if(arr[j]<arr[j+1])      //交换变量
                            ^
foo.c:16:29: error: stray '\240' in program
    if(arr[j]<arr[j+1])      //交换变量
                             ^
foo.c:16:31: error: stray '\302' in program
    if(arr[j]<arr[j+1])      //交换变量
                               ^
foo.c:16:32: error: stray '\240' in program
    if(arr[j]<arr[j+1])      //交换变量
                                ^
foo.c:17:3: error: stray '\302' in program
    {
   ^
foo.c:17:4: error: stray '\240' in program
    {
    ^
foo.c:18:3: error: stray '\302' in program
    t= arr[j];
   ^
foo.c:18:4: error: stray '\240' in program
    t= arr[j];
    ^
foo.c:19:3: error: stray '\302' in program
        arr[j]=arr[j+1];
   ^
foo.c:19:4: error: stray '\240' in program
        arr[j]=arr[j+1];
    ^
foo.c:19:6: error: stray '\302' in program
        arr[j]=arr[j+1];
      ^
foo.c:19:7: error: stray '\240' in program
        arr[j]=arr[j+1];
       ^
foo.c:19:9: error: stray '\302' in program
        arr[j]=arr[j+1];
         ^
foo.c:19:10: error: stray '\240' in program
        arr[j]=arr[j+1];
          ^
foo.c:20:3: error: stray '\302' in program
    arr[j+1]=t;
   ^
foo.c:20:4: error: stray '\240' in program
    arr[j+1]=t;
    ^
foo.c:21:3: error: stray '\302' in program
    }
   ^
foo.c:21:4: error: stray '\240' in program
    }
    ^
foo.c:24:21: error: stray '\302' in program
  for(i=0; i<3; i++)          //循环输出
                     ^
foo.c:24:22: error: stray '\240' in program
  for(i=0; i<3; i++)          //循环输出
                      ^
foo.c:24:24: error: stray '\302' in program
  for(i=0; i<3; i++)          //循环输出
                        ^
foo.c:24:25: error: stray '\240' in program
  for(i=0; i<3; i++)          //循环输出
                         ^
foo.c:24:27: error: stray '\302' in program
  for(i=0; i<3; i++)          //循环输出
                           ^
foo.c:24:28: error: stray '\240' in program
  for(i=0; i<3; i++)          //循环输出
                            ^
foo.c:24:30: error: stray '\302' in program
  for(i=0; i<3; i++)          //循环输出
                              ^
foo.c:24:31: error: stray '\240' in program
  for(i=0; i<3; i++)          //循环输出
                               ^
foo.c:24:33: error: stray '\302' in program
  for(i=0; i<3; i++)          //循环输出
                                 ^
foo.c:24:34: error: stray '\240' in program
  for(i=0; i<3; i++)          //循环输出
                                  ^
foo.c:29:1: error: stray '\302' in program
    return 0;
 ^
foo.c:29:2: error: stray '\240' in program
    return 0;
  ^
foo.c:29:4: error: stray '\302' in program
    return 0;
    ^
foo.c:29:5: error: stray '\240' in program
    return 0;
     ^
foo.c:10:6: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &arr[i]);       //输入三个整数
      ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

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