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_30363533_22578.cpp:5:1: error: expected ',' or ';' before 'struct'
 struct point{
 ^
0_0_30363533_22578.cpp:10:2: error: 'a' does not name a type
 }a[15];
  ^
0_0_30363533_22578.cpp: In function 'bool check(int, int)':
0_0_30363533_22578.cpp:14:21: error: 'a' was not declared in this scope
         int len=abs(a[i].x-xe)+abs(a[i].y-ye);
                     ^
0_0_30363533_22578.cpp: In function 'int mul(int, int)':
0_0_30363533_22578.cpp:28:37: error: 'll' was not declared in this scope
 inline int mul(int a,int b){return (ll)a*b%mod;}
                                     ^
0_0_30363533_22578.cpp:28:40: error: expected ';' before 'a'
 inline int mul(int a,int b){return (ll)a*b%mod;}
                                        ^
0_0_30363533_22578.cpp: In function 'int main()':
0_0_30363533_22578.cpp:60:43: error: 'a' was not declared in this scope
             scanf("%d%d%d%d",&x[i],&y[i],&a[i].k,&a[i].t);
                                           ^


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 08:04:46, Gzip enabled