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_17425322_19217.cpp: In function 'int main()':
0_0_17425322_19217.cpp:14:9: error: 'll' was not declared in this scope
         ll x,y;  
         ^
0_0_17425322_19217.cpp:15:12: error: expected ';' before 'a1'
         ll a1=0,a2=0;  
            ^
0_0_17425322_19217.cpp:18:33: error: 'x' was not declared in this scope
             scanf("%I64d%I64d",&x,&y);  
                                 ^
0_0_17425322_19217.cpp:18:36: error: 'y' was not declared in this scope
             scanf("%I64d%I64d",&x,&y);  
                                    ^
0_0_17425322_19217.cpp:22:17: error: 'a1' was not declared in this scope
                 a1++;a2++;  
                 ^
0_0_17425322_19217.cpp:22:22: error: 'a2' was not declared in this scope
                 a1++;a2++;  
                      ^
0_0_17425322_19217.cpp:24:22: error: 'c2' was not declared in this scope
             if(x==1) c2+=y-1;  
                      ^
0_0_17425322_19217.cpp:25:18: error: 'c1' was not declared in this scope
             else c1+=x-1;  
                  ^
0_0_17425322_19217.cpp:28:12: error: 'c1' was not declared in this scope
         if(c1>c2) puts("Alice");  
            ^
0_0_17425322_19217.cpp:28:15: error: 'c2' was not declared in this scope
         if(c1>c2) puts("Alice");  
               ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 07:44:11, Gzip enabled