Problem island
User louisleehi
Submission Time 2025-02-16 11:36:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

island.cpp: In function ‘int main()’:
island.cpp:10:12: error: ‘u’ was not declared in this scope
10 | cin >> u >> v;
| ^
island.cpp:10:17: error: ‘v’ was not declared in this scope
10 | cin >> u >> v;
| ^
island.cpp:13:22: error: expected ‘;’ before ‘!’ token
13 | ans += (deg[i]-1)!
| ^
| ;