/ ep /

记录详情

Compile Error

/in/foo.cc:7:20: error: '__int64' does not name a type
 struct ttp{int Len;__int64 Num;};
                    ^~~~~~~
/in/foo.cc:11:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main(){
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:24: error: 'struct ttp' has no member named 'Num'
    k=i;g[i].Len=1;g[i].Num=1;
                        ^~~
/in/foo.cc:23:32: error: 'struct ttp' has no member named 'Num'
       g[i].Len=g[k].Len+1;g[i].Num=0; 
                                ^~~
/in/foo.cc:26:9: error: 'struct ttp' has no member named 'Num'
    g[i].Num+=g[j].Num;vis[a[j]]=1;
         ^~~
/in/foo.cc:26:19: error: 'struct ttp' has no member named 'Num'
    g[i].Num+=g[j].Num;vis[a[j]]=1;
                   ^~~
/in/foo.cc:29:46: error: 'struct ttp' has no member named 'Num'
  printf("%d %0.0lf\n",g[0].Len-1,double(g[0].Num));
                                              ^~~

信息

递交者
类型
递交
题目
低价购买
语言
C++
递交时间
2018-09-29 16:24:24
评测时间
2018-09-29 16:24:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes