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_29470766_1052.cpp: In function 'long long int sumhe(int, int, int, int)':
0_0_29470766_1052.cpp:28:2: error: 'nbsp' was not declared in this scope
     return sum[x][y]-sum[a][y]-sum[x][b]+sum[a][b];
  ^
0_0_29470766_1052.cpp: In function 'int main()':
0_0_29470766_1052.cpp:35:2: error: 'nbsp' was not declared in this scope
     scanf("%d",&T);
  ^
0_0_29470766_1052.cpp:42:114: error: 'i' was not declared in this scope
                 scanf("%I64d",&a[i][j]);
                                                                                                                  ^
0_0_29470766_1052.cpp:42:117: error: 'j' was not declared in this scope
                 scanf("%I64d",&a[i][j]);
                                                                                                                     ^
0_0_29470766_1052.cpp:54:102: error: 'i' was not declared in this scope
                 if(a[i][j]>=k)len[j]++;
                                                                                                      ^
0_0_29470766_1052.cpp:54:105: error: 'j' was not declared in this scope
                 if(a[i][j]>=k)len[j]++;
                                                                                                         ^
0_0_29470766_1052.cpp:55:97: error: 'else' without a previous 'if'
                 else len[j]=0;
                                                                                                 ^
0_0_29470766_1052.cpp:55:106: error: 'j' was not declared in this scope
                 else len[j]=0;
                                                                                                          ^
0_0_29470766_1052.cpp:62:97: error: 'else' without a previous 'if'
                 else
                                                                                                 ^
0_0_29470766_1052.cpp:63:139: error: 'i' was not declared in this scope
                     d[j]=d[pre]+sumhe(i,j,i-len[j],pre);
                                                                                                                                           ^


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-26 09:48:27, Gzip enabled