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_21711835_22863.cpp: In function 'int main()':
0_0_21711835_22863.cpp:19:9: error: 'f' was not declared in this scope
         f       count1++;
         ^
0_0_21711835_22863.cpp:21:12: error: 'X' was not declared in this scope
         if(X>Y)
            ^
0_0_21711835_22863.cpp:21:14: error: 'Y' was not declared in this scope
         if(X>Y)
              ^
0_0_21711835_22863.cpp:23:19: error: 'count1' was not declared in this scope
             if(Y!=count1)
                   ^
0_0_21711835_22863.cpp:30:19: error: 'count1' was not declared in this scope
             if(X!=count1)
                   ^
0_0_21711835_22863.cpp: At global scope:
0_0_21711835_22863.cpp:36:5: error: expected unqualified-id before 'return'
     return 0;
     ^
0_0_21711835_22863.cpp:37:1: error: expected declaration before '}' token
 }
 ^


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-07-03 18:44:52, Gzip enabled