Problem | sana |
---|---|
User | Henries |
Submission Time | 2025-01-01 00:59:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sana.cpp:103:2: error: expected unqualified-id before ‘for’
103 | for(auto [key,val] : m){
| ^~~
sana.cpp:113:2: error: ‘dist’ does not name a type
113 | dist[diameternode1] = 0;
| ^~~~
sana.cpp:114:2: error: ‘dist2’ does not name a type
114 | dist2[diameternode2] = 0;
| ^~~~~
sana.cpp:115:5: error: expected constructor, destructor, or type conversion before ‘(’ token
115 | dfs(diameternode1,-1);
| ^
sana.cpp:116:6: error: expected constructor, destructor, or type conversion before ‘(’ token
116 | dfs2(diameternode2,-1);
| ^
sana.cpp:117:2: error: expected unqualified-id before ‘for’
117 | for(int i = 0;i<n;i++){
| ^~~
sana.cpp:117:16: error: ‘i’ does not name a type
117 | for(int i = 0;i<n;i++){
| ^
sana.cpp:117:20: error: ‘i’ does not name a type
117 | for(int i = 0;i<n;i++){
| ^
sana.cp