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_16062030_29789.cpp: In function 'int find(int)':
0_0_16062030_29789.cpp:3:20: error: 'm' was not declared in this scope
     for(int i=1;i<=m;i++)//有这么m个小姑娘小伙子需要去询问(一旦找到了能和自己凑成一对的小姑娘就停.)  
                    ^
0_0_16062030_29789.cpp:5:12: error: 'vis' was not declared in this scope
         if(vis[i]==0&&map[i][x])//如果当前小姑娘没有询问过(你要是询问两次人家小姑娘嫌你烦你造吧~~~~).并且这个小姑娘能同意了的情况下.  
            ^
0_0_16062030_29789.cpp:5:23: error: 'map' was not declared in this scope
         if(vis[i]==0&&map[i][x])//如果当前小姑娘没有询问过(你要是询问两次人家小姑娘嫌你烦你造吧~~~~).并且这个小姑娘能同意了的情况下.  
                       ^
0_0_16062030_29789.cpp:8:16: error: 'pri' was not declared in this scope
             if(pri[i]==-1||find(pri[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-18 18:25:24, Gzip enabled