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_21830569_22701.cpp: In function 'int main()':
0_0_21830569_22701.cpp:9:18: error: 'scanf' was not declared in this scope
     scanf("%d",&T);
                  ^
0_0_21830569_22701.cpp:19:29: error: 'max' was not declared in this scope
         maxx=max(maxx,ans[i]); 
                             ^
0_0_21830569_22701.cpp:25:29: error: 'min' was not declared in this scope
         minn=min(minn,ans[i]); 
                             ^
0_0_21830569_22701.cpp:26:33: error: 'printf' was not declared in this scope
     if(n>5) printf("Bad Team!\n");
                                 ^
0_0_21830569_22701.cpp:27:41: error: 'printf' was not declared in this scope
     else if(n<=2) printf("Great Team!\n");
                                         ^
0_0_21830569_22701.cpp:30:33: error: 'printf' was not declared in this scope
             printf("Bad Team!\n");
                                 ^
0_0_21830569_22701.cpp:31:36: error: 'printf' was not declared in this scope
         else printf("Great Team!\n");
                                    ^
0_0_21830569_22701.cpp:35:35: error: 'printf' was not declared in this scope
             printf("Great Team!\n");
                                   ^
0_0_21830569_22701.cpp:36:34: error: 'printf' was not declared in this scope
         else printf("Bad Team!\n");
                                  ^


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-03 19:31:07, Gzip enabled