F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_21843132_2491.cpp: In function 'void pre()':
0_0_21843132_2491.cpp:7:10: error: 'f' was not declared in this scope
  memset (f,0,sizeof (f));
          ^
0_0_21843132_2491.cpp:7:24: error: 'memset' was not declared in this scope
  memset (f,0,sizeof (f));
                        ^
0_0_21843132_2491.cpp:8:10: error: 'g' was not declared in this scope
  memset (g,0,sizeof (g));
          ^
0_0_21843132_2491.cpp:10:10: error: 'la1' was not declared in this scope
  memset (la1,0,sizeof (la1));
          ^
0_0_21843132_2491.cpp:11:10: error: 'la2' was not declared in this scope
  memset (la2,0,sizeof (la2));
          ^
0_0_21843132_2491.cpp:12:10: error: 'lb1' was not declared in this scope
  memset (lb1,0,sizeof (lb1));
          ^
0_0_21843132_2491.cpp:13:10: error: 'lb2' was not declared in this scope
  memset (lb2,0,sizeof (lb2));
          ^
0_0_21843132_2491.cpp:15:14: error: 'n' was not declared in this scope
  for (i=1;i<=n;i++)
              ^
0_0_21843132_2491.cpp:18:5: error: 'k' was not declared in this scope
     k=j+d;
     ^
0_0_21843132_2491.cpp:19:23: error: 'a' was not declared in this scope
     if (j==k||j==k-1&&a[i][j]==a[i][k]||f[i][j+1][k-1]&&a[i][j]==a[i][k]){
                       ^
0_0_21843132_2491.cpp:29:14: error: 'm' was not declared in this scope
  for (i=1;i<=m;i++)
              ^
0_0_21843132_2491.cpp:32:5: error: 'k' was not declared in this scope
     k=j+d;
     ^
0_0_21843132_2491.cpp:33:23: error: 'a' was not declared in this scope
     if (j==k||j==k-1&&a[j][i]==a[k][i]||f[i][j+1][k-1]&&a[j][i]==a[k][i]){
                       ^
0_0_21843132_2491.cpp: In function 'void work()':
0_0_21843132_2491.cpp:49:7: error: 'd' was not declared in this scope
  for (d=1;d<=n/2;d++){ //odd
       ^
0_0_21843132_2491.cpp:49:14: error: 'n' was not declared in this scope
  for (d=1;d<=n/2;d++){ //odd
              ^
0_0_21843132_2491.cpp:51:18: error: 'm' was not declared in this scope
    for (j=d+1;j<=m-d;j++){
                  ^
0_0_21843132_2491.cpp: In function 'int main()':
0_0_21843132_2491.cpp:59:15: error: 't' was not declared in this scope
  scanf ("%d",&t);
               ^
0_0_21843132_2491.cpp:61:18: error: 'n' was not declared in this scope
   scanf ("%d%d",&n,&m);
                  ^
0_0_21843132_2491.cpp:61:21: error: 'm' was not declared in this scope
   scanf ("%d%d",&n,&m);
                     ^
0_0_21843132_2491.cpp:64:18: error: 'a' was not declared in this scope
     scanf ("%d",&a[i][j]);
                  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 08:01:04, Gzip enabled