/ Vijos /

记录详情

Compile Error

foo.cpp:4:25: error: size of array 'graph' is too large
 int graph[300000][300000];
                         ^
foo.cpp: In function 'void cover(int, int, int, int, int, int)':
foo.cpp:8:10: error: invalid types 'int[int]' for array subscript
   graph[i][j]=tot;
          ^
foo.cpp: In function 'int main()':
foo.cpp:14:9: error: 'graph' was not declared in this scope
  memset(graph,0,sizeof(graph));
         ^
foo.cpp:17:12: warning: right operand of comma operator has no effect [-Wunused-value]
   cin>>a,b,g,k;
            ^
foo.cpp:17:14: warning: right operand of comma operator has no effect [-Wunused-value]
   cin>>a,b,g,k;
              ^
foo.cpp:17:15: warning: right operand of comma operator has no effect [-Wunused-value]
   cin>>a,b,g,k;
               ^
foo.cpp:20:7: error: 'x' was not declared in this scope
  cin>>x>>y;
       ^
foo.cpp:20:10: error: 'y' was not declared in this scope
  cin>>x>>y;
          ^

信息

递交者
类型
递交
题目
P1736 铺地毯
语言
C++
递交时间
2016-11-01 16:38:49
评测时间
2016-11-01 16:38:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes