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_20136183_17463.cpp:56:9: error: expected unqualified-id before 'for'
         for(i=0; i<n-1; i++)
         ^
0_0_20136183_17463.cpp:56:18: error: 'i' does not name a type
         for(i=0; i<n-1; i++)
                  ^
0_0_20136183_17463.cpp:56:25: error: 'i' does not name a type
         for(i=0; i<n-1; i++)
                         ^
0_0_20136183_17463.cpp:57:22: error: 'j' does not name a type
             for(j=0; j<n-i-1; j++)
                      ^
0_0_20136183_17463.cpp:57:31: error: 'j' does not name a type
             for(j=0; j<n-i-1; j++)
                               ^
0_0_20136183_17463.cpp:69:9: error: expected unqualified-id before 'for'
         for(i=0; i<n; i++)
         ^
0_0_20136183_17463.cpp:69:18: error: 'i' does not name a type
         for(i=0; i<n; i++)
                  ^
0_0_20136183_17463.cpp:69:23: error: 'i' does not name a type
         for(i=0; i<n; i++)
                       ^
0_0_20136183_17463.cpp:77:9: error: expected unqualified-id before 'if'
         if(d==0) printf("NULL\n");
         ^
0_0_20136183_17463.cpp:78:9: error: expected unqualified-id before 'else'
         else printf("\n");
         ^
0_0_20136183_17463.cpp:79:5: error: expected declaration before '}' token
     }
     ^


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-10-07 00:17:11, Gzip enabled