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_28702103_15435.cpp: In function 'int main()':
0_0_28702103_15435.cpp:9:9: error: 'i' was not declared in this scope
         i=0;
         ^
0_0_28702103_15435.cpp:11:21: error: 'j' was not declared in this scope
         for(i=1;i<n;j++)
                     ^
0_0_28702103_15435.cpp:18:21: error: 't' was not declared in this scope
                     t=b[j];
                     ^
0_0_28702103_15435.cpp:27:9: error: 'k' was not declared in this scope
         k=b[0];
         ^
0_0_28702103_15435.cpp:30:17: error: 'j' was not declared in this scope
             for(j=i+1; j<n; j++)
                 ^
0_0_28702103_15435.cpp: At global scope:
0_0_28702103_15435.cpp:42:7: error: expected unqualified-id before 'return'
       return 0;
       ^
0_0_28702103_15435.cpp:43:1: 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-11-20 21:32:33, Gzip enabled