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_20012593_5582.cpp:1:1: error: 'include' does not name a type
 include<iostream>  
 ^
0_0_20012593_5582.cpp: In function 'int main()':
0_0_20012593_5582.cpp:31:34: error: 'memset' was not declared in this scope
     memset(h[1],0,MAX*sizeof(int));  
                                  ^
0_0_20012593_5582.cpp:34:43: error: 'memcpy' was not declared in this scope
         memcpy(h[i],h[i-1],MAX*sizeof(int));  
                                           ^
0_0_20012593_5582.cpp:39:11: error: 'cin' was not declared in this scope
     while(cin>>i && i>=1 && i<=100)  
           ^
0_0_20012593_5582.cpp:41:38: error: 'memcpy' was not declared in this scope
         memcpy(a,h[i],MAX*sizeof(int));  
                                      ^
0_0_20012593_5582.cpp:46:27: error: 'printf' was not declared in this scope
         printf("%d",a[j++]);  
                           ^


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-12-27 17:40:52, Gzip enabled