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_15802987_3821.cpp:8:2: error: 'sturct' does not name a type
  sturct docs*next;
  ^
0_0_15802987_3821.cpp: In function 'int main(int, char**)':
0_0_15802987_3821.cpp:14:31: error: storage size of 'doc2' isn't known
   struct docs doc1[2000],doc2[],*doc3,*p1,*p2,*p3;
                               ^
0_0_15802987_3821.cpp:15:27: error: 'null' was not declared in this scope
   p1=p2=p3=doc1=doc2=doc3=null;
                           ^
0_0_15802987_3821.cpp:22:34: error: 'push' was not declared in this scope
      case 1:doc1=push(s,doc1,numb);break;
                                  ^
0_0_15802987_3821.cpp:29:26: error: 'pop' was not declared in this scope
      case 1:doc1=pop(doc1);break;
                          ^
0_0_15802987_3821.cpp: At global scope:
0_0_15802987_3821.cpp:38:1: error: 'sturct' does not name a type
 sturct docs* push(char*s,struct docs*doc,numb){
 ^


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-07-01 16:55:09, Gzip enabled