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_27503757_28719.cpp: In function 'void KM()':
0_0_27503757_28719.cpp:20:27: error: 'memset' was not declared in this scope
     memset(lx,0,sizeof(lx));
                           ^
0_0_27503757_28719.cpp:24:28: error: 'max' was not declared in this scope
     lx[i]=max(lx[i],s[i][j]);
                            ^
0_0_27503757_28719.cpp:32:22: error: 'INT_MAX' was not declared in this scope
                 temp=INT_MAX;
                      ^
0_0_27503757_28719.cpp: In function 'int main()':
0_0_27503757_28719.cpp:50:24: error: 'scanf' was not declared in this scope
     while(scanf("%d",&n)!=EOF){             //大几率出现有多个同时匹配一个的情况,因此之后选择移
                        ^
0_0_27503757_28719.cpp:50:27: error: 'EOF' was not declared in this scope
     while(scanf("%d",&n)!=EOF){             //大几率出现有多个同时匹配一个的情况,因此之后选择移
                           ^
0_0_27503757_28719.cpp:51:37: error: 'memset' was not declared in this scope
         memset(match,0,sizeof(match));      //损失利润最小的情况,直到全部匹配
                                     ^
0_0_27503757_28719.cpp:59:26: error: 'printf' was not declared in this scope
         printf("%d\n",sum);
                          ^


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-06 09:19:27, Gzip enabled