Problem wonhee
User CKCodeBreaker55
Submission Time 2025-01-07 14:14:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wonhee.cpp: In lambda function:
wonhee.cpp:32:17: error: use of ‘tarjan’ before deduction of ‘auto’
32 | tarjan(v);
| ^~~~~~
wonhee.cpp: In function ‘int main()’:
wonhee.cpp:100:33: error: no match for call to ‘(main()::<lambda(int, int, int, int)>) (int&, int&)’
100 | addEdge(u, v);
| ^
wonhee.cpp:20:20: note: candidate: ‘main()::<lambda(int, int, int, int)>’
20 | auto addEdge = [&](int r1, int c1, int r2, int c2) {
| ^
wonhee.cpp:20:20: note: candidate expects 4 arguments, 2 provided