| Problem | itinerary |
|---|---|
| User | boaznumberd5555 |
| Submission Time | 2026-02-19 09:09:00 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
itinerary.cpp:7:35: error: conflicting declaration ‘std::unordered_map<std::pair<int, int>, int> m’
7 | unordered_map<pair<int,int>, int> m;
| ^
itinerary.cpp:5:7: note: previous declaration as ‘int m’
5 | int n,m,n1,n2;
| ^
itinerary.cpp: In function ‘int dfs(int, int)’:
itinerary.cpp:14:43: error: expected ‘;’ before ‘]’ token
14 | twok[x][i+1] = twok[twok[x][i]][i]]
| ^
| ;
itinerary.cpp: In function ‘std::pair<int, int> lca(int, int)’:
itinerary.cpp:37:13: error: invalid conversion from ‘int (*)[20]’ to ‘int’ [-fpermissive]
37 | a = twok
| ^~~~
| |
| int (*)[20]
itinerary.cpp:37:17: error: expected ‘;’ before ‘}’ token
37 | a = twok
| ^