Anniversary party
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 3563 Accepted Submission(s): 1648
L K
It means that the K-th employee is an immediate supervisor of the L-th employee. Input is ended with the line
0 0
#include <iostream>
#include <cstdio> #include <cstring> #include <vector> using namespace std; int valu[7000],dp[7000][2],N,L,K; void dfs(int u,int fa) int main() |
* This source code was highlighted by YcdoiT. ( style: Codeblocks )