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_33804848_17199.cpp:20:15: error: redefinition of 'll f2'
 ll f[MAXN],f2,f2;
               ^
0_0_33804848_17199.cpp:20:12: note: 'll f2' previously declared here
 ll f[MAXN],f2,f2;
            ^
0_0_33804848_17199.cpp: In function 'void init()':
0_0_33804848_17199.cpp:24:2: error: 'f1' was not declared in this scope
  f1 = f2 = 0;
  ^
0_0_33804848_17199.cpp: In function 'void solve()':
0_0_33804848_17199.cpp:38:7: error: 'f1' was not declared in this scope
   if(!f1)f1 = a == 1;
       ^
0_0_33804848_17199.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-09-29 07:20:29, Gzip enabled