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_15126951_1738.cpp: In function 'int main()':
0_0_15126951_1738.cpp:30:32: error: 'a' was not declared in this scope
             scanf("%s%d%d%d%d",a[i].dir,&a[i].t,&a[i].v,&a[i].x,&a[i].y);
                                ^
0_0_15126951_1738.cpp:34:16: error: 'a' was not declared in this scope
             if(a[i].dir[0] == 'N') {
                ^
0_0_15126951_1738.cpp:39:34: error: 'y' was not declared in this scope
                         t[tt][k][y] = 1;
                                  ^
0_0_15126951_1738.cpp:49:34: error: 'y' was not declared in this scope
                         t[tt][k][y] = 1;
                                  ^
0_0_15126951_1738.cpp:58:31: error: 'y' was not declared in this scope
                     for(int k=y+a[i].v;k<=m;k+=a[i].v) {
                               ^
0_0_15126951_1738.cpp:68:31: error: 'y' was not declared in this scope
                     for(int k=y-a[i].v;k>=1;k-=a[i].v) {
                               ^


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-27 08:33:11, Gzip enabled