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_18029602_17019.cpp:35:1: error: 'print1' does not name a type
 print1[1000000];
 ^
0_0_18029602_17019.cpp:36:1: error: 'print2' does not name a type
 print2[1000000];
 ^
0_0_18029602_17019.cpp: In function 'int main()':
0_0_18029602_17019.cpp:47:10: error: 'print' was not declared in this scope
   memset(print,0,sizeof(print));
          ^
0_0_18029602_17019.cpp:70:6: error: 'print1' was not declared in this scope
      print1[cnt]=a[i].i;
      ^
0_0_18029602_17019.cpp:71:6: error: 'print2' was not declared in this scope
      print2[cnt++]=a[j].i;
      ^
0_0_18029602_17019.cpp:81:13: error: 'print1' was not declared in this scope
     cout << print1[i] << " " <<  print2[i] << endl;
             ^
0_0_18029602_17019.cpp:81:34: error: 'print2' was not declared in this scope
     cout << print1[i] << " " <<  print2[i] << endl;
                                  ^


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 08:41:19, Gzip enabled