记录详情

Compile Error

foo.cc:4:1: error: extended character   is not valid in an identifier
    4 |  
      | ^
foo.cc:6:11: error: extended character   is not valid in an identifier
    6 | int main() //参考答案
      |           ^
foo.cc:10:1: error: extended character   is not valid in an identifier
   10 |     int x, y;
      | ^
foo.cc:10:1: error: extended character   is not valid in an identifier
foo.cc:10:1: error: extended character   is not valid in an identifier
foo.cc:12:1: error: extended character   is not valid in an identifier
   12 |  
      | ^
foo.cc:14:1: error: extended character   is not valid in an identifier
   14 |     cout<<"请输入坐标点x, y:";
      | ^
foo.cc:14:1: error: extended character   is not valid in an identifier
foo.cc:14:1: error: extended character   is not valid in an identifier
foo.cc:16:1: error: extended character   is not valid in an identifier
   16 |     cin>>x>>y;
      | ^
foo.cc:16:1: error: extended character   is not valid in an identifier
foo.cc:16:1: error: extended character   is not valid in an identifier
foo.cc:18:1: error: extended character   is not valid in an identifier
   18 |  
      | ^
foo.cc:20:1: error: extended character   is not valid in an identifier
   20 |     if(x>0 && y> 0)        //算法:组合条件
      | ^
foo.cc:20:1: error: extended character   is not valid in an identifier
foo.cc:20:1: error: extended character   is not valid in an identifier
foo.cc:20:20: error: extended character   is not valid in an identifier
   20 |     if(x>0 && y> 0)        //算法:组合条件
      |                    ^
foo.cc:20:22: error: extended character   is not valid in an identifier
   20 |     if(x>0 && y> 0)        //算法:组合条件
      |                      ^
foo.cc:20:22: error: extended character   is not valid in an identifier
foo.cc:20:22: error: extended character   is not valid in an identifier
foo.cc:20:22: error: extended character   is not valid in an identifier
foo.cc:20:22: error: extended character   is not valid in an identifier
foo.cc:20:22: error: extended character   is not valid in an identifier
foo.cc:22:1: error: extended character   is not valid in an identifier
   22 |         cout<<1<<endl;
      | ^
foo.cc:22:1: error: extended character   is not valid in an identifier
foo.cc:22:1: error: extended character   is not valid in an identifier
foo.cc:22:1: error: extended character   is not valid in an identifier
foo.cc:22:1: error: extended character   is not valid in an identifier
foo.cc:22:1: error: extended character   is not valid in an identifier
foo.cc:22:1: error: extended character   is not valid in an identifier
foo.cc:22:1: error: extended character   is not valid in an identifier
foo.cc:24:1: error: extended character   is not valid in an identifier
   24 |     else if(x<0 && y>0)
      | ^
foo.cc:24:1: error: extended character   is not valid in an identifier
foo.cc:24:1: error: extended character   is not valid in an identifier
foo.cc:26:1: error: extended character   is not valid in an identifier
   26 |         cout<<2<<endl;
      | ^
foo.cc:26:1: error: extended character   is not valid in an identifier
foo.cc:26:1: error: extended character   is not valid in an identifier
foo.cc:26:1: error: extended character   is not valid in an identifier
foo.cc:26:1: error: extended character   is not valid in an identifier
foo.cc:26:1: error: extended character   is not valid in an identifier
foo.cc:26:1: error: extended character   is not valid in an identifier
foo.cc:28:1: error: extended character   is not valid in an identifier
   28 |     else if(x<0 && y<0)
      | ^
foo.cc:28:1: error: extended character   is not valid in an identifier
foo.cc:28:1: error: extended character   is not valid in an identifier
foo.cc:30:1: error: extended character   is not valid in an identifier
   30 |         cout<<3<<endl;
      | ^
foo.cc:30:1: error: extended character   is not valid in an identifier
foo.cc:30:1: error: extended character   is not valid in an identifier
foo.cc:30:1: error: extended character   is not valid in an identifier
foo.cc:30:1: error: extended character   is not valid in an identifier
foo.cc:30:1: error: extended character   is not valid in an identifier
foo.cc:30:1: error: extended character   is not valid in an identifier
foo.cc:32:1: error: extended character   is not valid in an identifier
   32 |     else if(x>0 && y<0)
      | ^
foo.cc:32:1: error: extended character   is not valid in an identifier
foo.cc:32:1: error: extended character   is not valid in an identifier
foo.cc:34:1: error: extended character   is not valid in an identifier
   34 |         cout<<4<<endl;
      | ^
foo.cc:34:1: error: extended character   is not valid in an identifier
foo.cc:34:1: error: extended character   is not valid in an identifier
foo.cc:34:1: error: extended character   is not valid in an identifier
foo.cc:34:1: error: extended character   is not valid in an identifier
foo.cc:34:1: error: extended character   is not valid in an identifier
foo.cc:34:1: error: extended character   is not valid in an identifier
foo.cc:36:1: error: extended character   is not valid in an identifier
   36 |     else
      | ^
foo.cc:36:1: error: extended character   is not valid in an identifier
foo.cc:36:1: error: extended character   is not valid in an identifier
foo.cc:38:1: error: extended character   is not valid in an identifier
   38 |         cout<<5<<endl;
      | ^
foo.cc:38:1: error: extended character   is not valid in an identifier
foo.cc:38:1: error: extended character   is not valid in an identifier
foo.cc:38:1: error: extended character   is not valid in an identifier
foo.cc:38:1: error: extended character   is not valid in an identifier
foo.cc:38:1: error: extended character   is not valid in an identifier
foo.cc:38:1: error: extended character   is not valid in an identifier
foo.cc:4:1: error: '\U000000a0' does not name a type
    4 |  
      | ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1011 平面坐标系
语言
C++
递交时间
2022-08-17 21:00:19
评测时间
2022-08-17 21:01:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes