/ Vijos /

记录详情

Compile Error

/in/foo.cc:12:1: error: expected ';' after struct definition
 }
 ^
/in/foo.cc: In function 'void zxscsh()':
/in/foo.cc:38:15: error: 'str' was not declared in this scope
   int r1=find(str[i].x),r2=find(str[i].y);
               ^~~
/in/foo.cc:39:10: error: 'r2' was not declared in this scope
   if(r1!=r2) fa[r1]=r2,str[i].flag=1,mtree(str[i].x,str[i].y,str[i].dis);
          ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:52:7: error: 'str' was not declared in this scope
  cin>>str[i].x>>str[i].y>>str[i].dis;
       ^~~
/in/foo.cc:53:7: error: 'str' was not declared in this scope
  sort(str+1,str+1+m);
       ^~~
/in/foo.cc:57:2: error: 'retrun' was not declared in this scope
  retrun 0;
  ^~~~~~
/in/foo.cc:50:6: warning: unused variable 'a' [-Wunused-variable]
  int a,b,c;
      ^
/in/foo.cc:50:8: warning: unused variable 'b' [-Wunused-variable]
  int a,b,c;
        ^
/in/foo.cc:50:10: warning: unused variable 'c' [-Wunused-variable]
  int a,b,c;
          ^

信息

递交者
类型
递交
题目
P1234 口袋的天空
语言
C++
递交时间
2019-05-19 16:44:46
评测时间
2019-05-19 16:44:46
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes