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_18288098_4827.cpp:7:1: error: 'LL' does not name a type
 LL dp[20][10][2];
 ^
0_0_18288098_4827.cpp:8:1: error: 'LL' does not name a type
 LL L,R;
 ^
0_0_18288098_4827.cpp: In function 'void Init()':
0_0_18288098_4827.cpp:13:12: error: 'dp' was not declared in this scope
     memset(dp,0,sizeof(dp));
            ^
0_0_18288098_4827.cpp: At global scope:
0_0_18288098_4827.cpp:41:1: error: 'LL' does not name a type
 LL Solve(LL cur)
 ^
0_0_18288098_4827.cpp: In function 'int main()':
0_0_18288098_4827.cpp:109:27: error: 'L' was not declared in this scope
         scanf("%lld%lld",&L,&R);
                           ^
0_0_18288098_4827.cpp:109:30: error: 'R' was not declared in this scope
         scanf("%lld%lld",&L,&R);
                              ^
0_0_18288098_4827.cpp:110:50: error: 'Solve' was not declared in this scope
         printf("Case #%d: %lld\n",cas++,Solve(R+1)-Solve(L));
                                                  ^


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-06-29 13:48:19, Gzip enabled