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_25942839_4366.cpp:8:1: error: 'LL' does not name a type
 LL num[N][N];
 ^
0_0_25942839_4366.cpp:9:1: error: 'LL' does not name a type
 LL Sum(int x, int y) {
 ^
0_0_25942839_4366.cpp: In function 'int main()':
0_0_25942839_4366.cpp:38:17: error: 'num' was not declared in this scope
                 num[j][i - j] = a[Index];
                 ^
0_0_25942839_4366.cpp:45:21: error: 'num' was not declared in this scope
                     num[i][j] += num[i - 1][j];
                     ^
0_0_25942839_4366.cpp:48:21: error: 'num' was not declared in this scope
                     num[i][j] += num[i][j - 1];
                     ^
0_0_25942839_4366.cpp:51:21: error: 'num' was not declared in this scope
                     num[i][j] -= num[i - 1][j - 1];
                     ^
0_0_25942839_4366.cpp:59:13: error: 'LL' was not declared in this scope
             LL ans = Sum(x2, y2) + Sum(x1 - 1, y1 - 1);
             ^
0_0_25942839_4366.cpp:60:13: error: 'ans' was not declared in this scope
             ans -= Sum(x2, y1 - 1) + Sum(x1 - 1, y2);
             ^
0_0_25942839_4366.cpp:60:34: error: 'Sum' was not declared in this scope
             ans -= Sum(x2, y1 - 1) + Sum(x1 - 1, y2);
                                  ^


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 05:00:17, Gzip enabled