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_38531972_10661.cpp: In function 'int main()':
0_0_38531972_10661.cpp:44:11: error: 'i' was not declared in this scope
      if(a[i]==1||a[i]==3)
           ^
0_0_38531972_10661.cpp:46:13: error: 'i' was not declared in this scope
      last=a[i];
             ^
0_0_38531972_10661.cpp:59:11: error: 'i' was not declared in this scope
      if(a[i]==1||a[i]==2)
           ^
0_0_38531972_10661.cpp:61:13: error: 'i' was not declared in this scope
      last=a[i];
             ^
0_0_38531972_10661.cpp:77:11: error: 'i' was not declared in this scope
      if(a[i]==2||a[i]==3)
           ^
0_0_38531972_10661.cpp:79:13: error: 'i' was not declared in this scope
      last=a[i];
             ^
0_0_38531972_10661.cpp:92:11: error: 'i' was not declared in this scope
      if(a[i]==1||a[i]==3)
           ^
0_0_38531972_10661.cpp:94:13: error: 'i' was not declared in this scope
      last=a[i];
             ^
0_0_38531972_10661.cpp:110:11: error: 'i' was not declared in this scope
      if(a[i]==2||a[i]==3)
           ^
0_0_38531972_10661.cpp:112:13: error: 'i' was not declared in this scope
      last=a[i];
             ^
0_0_38531972_10661.cpp:125:11: error: 'i' was not declared in this scope
      if(a[i]==1||a[i]==2)
           ^
0_0_38531972_10661.cpp:127:13: error: 'i' was not declared in this scope
      last=a[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-26 07:10:19, Gzip enabled