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_26625187_29097.cpp:4:1: error: 'vector' does not name a type
 vector<int> paret[510];
 ^
0_0_26625187_29097.cpp: In function 'int Ask(int)':
0_0_26625187_29097.cpp:7:18: error: 'paret' was not declared in this scope
     int i, len = paret[pos].size();
                  ^
0_0_26625187_29097.cpp: In function 'void dfs(int, int)':
0_0_26625187_29097.cpp:21:23: error: 'max' was not declared in this scope
     ans = max(ans, num);
                       ^
0_0_26625187_29097.cpp:23:31: error: 'memset' was not declared in this scope
     memset(vis, 0, sizeof(vis));
                               ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 08:24:02, Gzip enabled