/ Vijos /

记录详情

Compile Error

/in/foo.cc:2:4: error: stray '#' in program
  2 #include<cstring>
    ^
/in/foo.cc:2:2: error: expected unqualified-id before numeric constant
  2 #include<cstring>
  ^
/in/foo.cc:4:2: error: expected unqualified-id before numeric constant
  4 const int maxm=50000;
  ^
/in/foo.cc:5:2: error: expected unqualified-id before numeric constant
  5 const double inf=1e6;
  ^
/in/foo.cc:6:2: error: expected unqualified-id before numeric constant
  6 const double error=0.001;
  ^
/in/foo.cc:7:2: error: expected unqualified-id before numeric constant
  7 int n,m,s,t;
  ^
/in/foo.cc:8:2: error: expected unqualified-id before numeric constant
  8 double tw,tot;
  ^
/in/foo.cc:9:2: error: expected unqualified-id before numeric constant
  9 int a,b,c;
  ^
/in/foo.cc:10:1: error: expected unqualified-id before numeric constant
 10 double q[maxn],z[maxn];
 ^~
/in/foo.cc:11:1: error: expected unqualified-id before numeric constant
 11 bool map[maxn][maxn];
 ^~
/in/foo.cc:12:1: error: expected unqualified-id before numeric constant
 12 double l,r,mid;
 ^~
/in/foo.cc:13:1: error: expected unqualified-id before numeric constant
 13 inline double min_(double x,double y){return x<y?x:y;}
 ^~
/in/foo.cc:14:1: error: expected unqualified-id before numeric constant
 14 int h[maxn],hs;
 ^~
/in/foo.cc:15:1: error: expected unqualified-id before numeric constant
 15 struct edge{int s,n;double w;}e[maxm];
 ^~
/in/foo.cc:15:34: error: 'e' does not name a type
 15 struct edge{int s,n;double w;}e[maxm];
                                  ^
/in/foo.cc:16:1: error: expected unqualified-id before numeric constant
 16 void add(int x,int y,double z){
 ^~

信息

递交者
类型
递交
题目
P1948 星际战争
语言
C++
递交时间
2017-05-27 10:45:40
评测时间
2017-05-27 10:45:40
评测机
分数
0
总耗时
17ms
峰值内存
3.414 MiB