记录详情

Compile Error

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

信息

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