/ Vijos /

记录详情

Compile Error

foo.cpp:5:2: error: stray '\243' in program
  int x[10000],y[10000],l[2][10000];
  ^
foo.cpp:5:2: error: stray '\273' in program
foo.cpp: In function 'int main()':
foo.cpp:6:5: error: expected initializer before 'int'
     int n,i,j,xx,yy=-1;
     ^
foo.cpp:9:8: error: 'n' was not declared in this scope
  cin >>n;
        ^
foo.cpp:10:7: error: 'i' was not declared in this scope
  for (i=1;i<=n;i++)
       ^
foo.cpp:11:21: error: 'l' was not declared in this scope
   cin >>x[i]>>y[i]>>l[1][i]>>l[2][i];
                     ^
foo.cpp:12:8: error: 'xx' was not declared in this scope
  cin >>xx>>yy;
        ^
foo.cpp:12:12: error: 'yy' was not declared in this scope
  cin >>xx>>yy;
            ^
foo.cpp:15:28: error: 'l' was not declared in this scope
   if (xx>=x[i] && xx<=x[i]+l[1][i] && yy>=y[i] && yy<=y[i]+l[2][i] && flag==false)
                            ^

信息

递交者
类型
递交
题目
P1736 铺地毯
语言
C++
递交时间
2015-08-04 21:02:17
评测时间
2015-08-04 21:02:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes