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_26587676_16855.cpp:16:42: error: 'vis' does not name a type
 int kind[5],num[5]={1,4,4,2},com[30][30];vis[50],kvis[5],res;
                                          ^
0_0_26587676_16855.cpp: In function 'void dfs(int, int, int)':
0_0_26587676_16855.cpp:22:9: error: 'res' was not declared in this scope
         res=max(abi,res);
         ^
0_0_26587676_16855.cpp:27:9: error: 'kvis' was not declared in this scope
     if (kvis[s[m].k]<num[s[m].k])
         ^
0_0_26587676_16855.cpp:30:7: error: 'vis' was not declared in this scope
       vis[m]=1;
       ^
0_0_26587676_16855.cpp: In function 'int main()':
0_0_26587676_16855.cpp:73:9: error: 'res' was not declared in this scope
         res=-inf;
         ^
0_0_26587676_16855.cpp:75:16: error: 'vis' was not declared in this scope
         memset(vis,0,sizeof(vis));
                ^
0_0_26587676_16855.cpp:76:16: error: 'kvis' was not declared in this scope
         memset(kvis,0,sizeof(kvis));
                ^


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-07-03 12:46:24, Gzip enabled