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_31553340_22522.cpp: In function 'int main()':
0_0_31553340_22522.cpp:8:16: error: 'x2' has not been declared
  ll  f1(int x1,x2);
                ^
0_0_31553340_22522.cpp:15:3: error: expected ';' before 'if'
   if(z==1)sum=1;
   ^
0_0_31553340_22522.cpp: At global scope:
0_0_31553340_22522.cpp:23:14: error: 'x2' has not been declared
 ll f1(int x1,x2)
              ^
0_0_31553340_22522.cpp: In function 'long long int f1(int, int)':
0_0_31553340_22522.cpp:29:15: error: 'x2' was not declared in this scope
  for( i=4; i<(x2-x1); i++)
               ^


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