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_15114633_18395.cpp:2:4: error: stray '#' in program
 11 #include<string.h>
    ^
0_0_15114633_18395.cpp:2:1: error: expected unqualified-id before numeric constant
 11 #include<string.h>
 ^
0_0_15114633_18395.cpp:8:5: error: 'node' does not name a type
 17 }node;
     ^
0_0_15114633_18395.cpp:9:1: error: expected unqualified-id before numeric constant
 18 
 ^
0_0_15114633_18395.cpp:11:1: error: expected unqualified-id before numeric constant
 20 node memory[1000000];//这里都用数组分配结点,用malloc分配太慢了,然后将内存一次赋给指针
 ^
0_0_15114633_18395.cpp:12:1: error: expected unqualified-id before numeric constant
 21 int k=0;      //指向未分配内存的数组下标
 ^
0_0_15114633_18395.cpp:13:1: error: expected unqualified-id before numeric constant
 22 
 ^


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-20 02:40:32, Gzip enabled