/ Vijos /

记录详情

Compile Error

/in/foo.cc:10:1: error: initializer-string for array of chars is too long [-fpermissive]
 };
 ^
/in/foo.cc:10:1: error: initializer-string for array of chars is too long [-fpermissive]
/in/foo.cc:10:1: error: initializer-string for array of chars is too long [-fpermissive]
/in/foo.cc:10:1: error: initializer-string for array of chars is too long [-fpermissive]
/in/foo.cc:10:1: error: initializer-string for array of chars is too long [-fpermissive]
/in/foo.cc:10:1: error: initializer-string for array of chars is too long [-fpermissive]
/in/foo.cc: In function 'int main()':
/in/foo.cc:23:16: error: 'n' was not declared in this scope
  scanf("%d%d",&n,&m);
                ^
/in/foo.cc:23:19: error: 'm' was not declared in this scope
  scanf("%d%d",&n,&m);
                   ^
/in/foo.cc:24:2: error: 'k' was not declared in this scope
  k=0;l=0;
  ^
/in/foo.cc:24:6: error: 'l' was not declared in this scope
  k=0;l=0;
      ^
/in/foo.cc:28:14: error: 'a' was not declared in this scope
  scanf("%d",&a[i][j]),l=max(l,2*(n-i)+a[i][j]*3+1);
              ^
/in/foo.cc:32:17: error: 'a' was not declared in this scope
  for(int p=1;p<=a[i][j];p++)
                 ^

信息

递交者
类型
自测
题目
P1497 立体图
语言
C++
递交时间
2018-09-04 15:24:02
评测时间
2018-09-04 15:24:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes