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_34121934_26249.cpp:37:7: error: 'LL' does not name a type
 const LL INF = 0x3f3f3f3f3f3f3f3fLL;
       ^
0_0_34121934_26249.cpp: In function 'int main()':
0_0_34121934_26249.cpp:105:9: error: 'LL' was not declared in this scope
         LL ans1 = 0, ans2 = 0;
         ^
0_0_34121934_26249.cpp:111:17: error: 'ans1' was not declared in this scope
                 ans1 += vec1[i];
                 ^
0_0_34121934_26249.cpp:115:13: error: 'ans1' was not declared in this scope
             ans1 += vec1[i] - vec2[j];
             ^
0_0_34121934_26249.cpp:123:17: error: 'ans2' was not declared in this scope
                 ans2 += a[i];
                 ^
0_0_34121934_26249.cpp:127:13: error: 'ans2' was not declared in this scope
             ans2 += a[i] - pp[j].val;
             ^
0_0_34121934_26249.cpp:130:48: error: 'ans1' was not declared in this scope
         printf("Case %d: %lld\n", ++icase, max(ans1, ans2));
                                                ^
0_0_34121934_26249.cpp:130:54: error: 'ans2' was not declared in this scope
         printf("Case %d: %lld\n", ++icase, max(ans1, ans2));
                                                      ^


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-25 18:53:10, Gzip enabled