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_26558419_19342.cpp: In function 'int check()':
0_0_26558419_19342.cpp:10:9: error: 'a' was not declared in this scope
     if (a[0]==a[1]&&a[1]==a[2]&&a[2]==a[3]) tmp++;
         ^
0_0_26558419_19342.cpp:11:9: error: 'a' was not declared in this scope
     if (a[4]==a[5]&&a[5]==a[10]&&a[10]==a[11]) tmp++;
         ^
0_0_26558419_19342.cpp:12:9: error: 'a' was not declared in this scope
     if (a[6]==a[7]&&a[7]==a[12]&&a[12]==a[13]) tmp++;
         ^
0_0_26558419_19342.cpp:13:9: error: 'a' was not declared in this scope
     if (a[8]==a[9]&&a[9]==a[15]&&a[15]==a[14]) tmp++;
         ^
0_0_26558419_19342.cpp:14:9: error: 'a' was not declared in this scope
     if (a[16]==a[17]&&a[17]==a[18]&&a[18]==a[19]) tmp++;
         ^
0_0_26558419_19342.cpp:15:9: error: 'a' was not declared in this scope
     if (a[20]==a[21]&&a[21]==a[22]&&a[22]==a[23]) tmp++;
         ^


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-16 20:54:37, Gzip enabled