Problem subgraphs
User polyda
Submission Time 2024-10-18 22:13:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp: In function ‘void merge(std::vector<int>&, int, int)’:
subgraphs.cpp:19:20: error: expected ‘;’ before ‘{’ token
19 | else(a[y]<a[x]){
| ^
| ;
subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:34:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
34 | ans=0;
| ^~~
| abs