Problem | lamps |
---|---|
User | PlayVoltz |
Submission Time | 2024-03-01 08:06:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lamps.cpp: In function ‘std::pair<long long int, long long int> fp(long long int)’:
lamps.cpp:34:22: error: cannot convert ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type’ {aka ‘std::pair<long long int, long long int>’} to ‘long long int’
34 | pii res=fp(dsu[node]);
| ^
| |
| __gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type {aka std::pair<long long int, long long int>}
lamps.cpp:32:12: note: initializing argument 1 of ‘std::pair<long long int, long long int> fp(long long int)’
32 | pii fp(int node){
| ^