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_33804844_16360.cpp:20:15: error: redefinition of 'll f2'
 ll f[MAXN],f2,f2;
               ^
0_0_33804844_16360.cpp:20:12: note: 'll f2' previously declared here
 ll f[MAXN],f2,f2;
            ^
0_0_33804844_16360.cpp: In function 'void init()':
0_0_33804844_16360.cpp:24:2: error: 'f1' was not declared in this scope
  f1 = f2 = 0;
  ^
0_0_33804844_16360.cpp: In function 'void solve()':
0_0_33804844_16360.cpp:38:3: error: 'f1' was not declared in this scope
   f1 = a == 1;
   ^
0_0_33804844_16360.cpp:41:5: error: 'f1' was not declared in this scope
  if(f1 && f2)cout<<"YES"<<endl;
     ^


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-17 02:02:54, Gzip enabled