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_32866882_1300.cpp:19:1: error: 'vector' does not name a type
 vector<line> g ;
 ^
0_0_32866882_1300.cpp: In function 'void dfs(int, int)':
0_0_32866882_1300.cpp:50:33: error: 'min' was not declared in this scope
             ans = min(ans , tsum) ;
                                 ^
0_0_32866882_1300.cpp:54:17: error: 'g' was not declared in this scope
       while(i < g.size() && g[i].time > sum) i++ ;
                 ^
0_0_32866882_1300.cpp:55:15: error: 'g' was not declared in this scope
       if(i == g.size()) return ;
               ^
0_0_32866882_1300.cpp:58:19: error: 'g' was not declared in this scope
       s += (sum + g[i].time - 1) / g[i].time ;
                   ^
0_0_32866882_1300.cpp: In function 'int main()':
0_0_32866882_1300.cpp:72:6: error: 'cin' was not declared in this scope
      cin>>t ;
      ^
0_0_32866882_1300.cpp:74:32: error: 'scanf' was not declared in this scope
           scanf("%d%d" ,&n , &m) ;
                                ^
0_0_32866882_1300.cpp:80:11: error: 'g' was not declared in this scope
           g.clear() ;
           ^
0_0_32866882_1300.cpp:88:49: error: 'abs' was not declared in this scope
                             if(__gcd(dx , abs(dy)) != 1) continue ;
                                                 ^
0_0_32866882_1300.cpp:88:50: error: '__gcd' was not declared in this scope
                             if(__gcd(dx , abs(dy)) != 1) continue ;
                                                  ^
0_0_32866882_1300.cpp:108:35: error: 'sort' was not declared in this scope
           sort(g.begin() , g.end()) ;
                                   ^
0_0_32866882_1300.cpp:111:11: error: 'cout' was not declared in this scope
           cout<< ans << endl ;
           ^
0_0_32866882_1300.cpp:111:25: error: 'endl' was not declared in this scope
           cout<< ans << endl ;
                         ^


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-05-18 21:04:51, Gzip enabled