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_30230732_18615.cpp:1:4: error: stray '#' in program
  1 #include <bits/stdc++.h>
    ^
0_0_30230732_18615.cpp:1:2: error: expected unqualified-id before numeric constant
  1 #include <bits/stdc++.h>
  ^
0_0_30230732_18615.cpp:3:2: error: expected unqualified-id before numeric constant
  3 int dira[4] = {2,3,1,0};
  ^
0_0_30230732_18615.cpp:4:2: error: expected unqualified-id before numeric constant
  4 int dirv[4] = {3,2,0,1};
  ^
0_0_30230732_18615.cpp:5:2: error: expected unqualified-id before numeric constant
  5 int X[4] = {-10,10,0,0};
  ^
0_0_30230732_18615.cpp:6:2: error: expected unqualified-id before numeric constant
  6 int Y[4] = {0,0,10,-10};
  ^
0_0_30230732_18615.cpp:7:2: error: expected unqualified-id before numeric constant
  7 int x,y,dir,newdir,len;
  ^
0_0_30230732_18615.cpp:8:2: error: expected unqualified-id before numeric constant
  8 int main()
  ^


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-23 11:05:41, Gzip enabled