Problem graphcraft
User 6root2i
Submission Time 2024-06-28 18:09:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

graphcraft.cpp:6:31: error: declaration of ‘V’ as array of references
6 | int dp(vector<pair<int,int>>& V[], vector<int>& cost, int C){
| ^
graphcraft.cpp:6:34: error: expected ‘)’ before ‘,’ token
6 | int dp(vector<pair<int,int>>& V[], vector<int>& cost, int C){
| ~ ^
| )
graphcraft.cpp:6:47: error: invalid declarator before ‘&’ token
6 | int dp(vector<pair<int,int>>& V[], vector<int>& cost, int C){
| ^