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_36684946_24946.cpp: In function 'int main()':
0_0_36684946_24946.cpp:13:14: error: 'i' was not declared in this scope
         for( i=0;i<n;i++)
              ^
0_0_36684946_24946.cpp:14:25: error: 'm' was not declared in this scope
             scanf("%d",&m[i]);
                         ^
0_0_36684946_24946.cpp:15:17: error: 'm' was not declared in this scope
             min=m[0];
                 ^
0_0_36684946_24946.cpp:16:18: error: 'i' was not declared in this scope
             for( i=0;i<n;i++)
                  ^
0_0_36684946_24946.cpp:21:17: error: 'b' was not declared in this scope
                 b=i;
                 ^
0_0_36684946_24946.cpp:24:10: error: 'b' was not declared in this scope
        m[b]=m[0];
          ^
0_0_36684946_24946.cpp:26:12: error: 'i' was not declared in this scope
        for(i=0;i<n-1;i++)
            ^


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