Kaimynų kaimynai
- [1] 2024-12-21 13:38 (0)
- [2] 2024-12-21 13:39 (0)
- [3] 2024-12-21 14:13 (0)
- [4] 2024-12-21 14:21 (60)
- [5] 2024-12-21 14:22 (100)
Taškai: 0
Compile: FAIL
kaimynu_kaimynai.cpp: In function ‘int main()’: kaimynu_kaimynai.cpp:11:20: error: expected unqualified-id before ‘>’ token 11 | map<string, int>> brr; | ^~ kaimynu_kaimynai.cpp:17:9: error: ‘brr’ was not declared in this scope; did you mean ‘arr’? 17 | brr[arr[i]] = i; | ^~~ | arr kaimynu_kaimynai.cpp:22:13: error: ‘brr’ was not declared in this scope; did you mean ‘arr’? 22 | vec[brr[x]].push_back(y); | ^~~ | arr kaimynu_kaimynai.cpp:25:21: error: expected unqualified-id before ‘>’ token 25 | map<string, bool>> mp; | ^~ kaimynu_kaimynai.cpp:27:29: error: ‘brr’ was not declared in this scope; did you mean ‘arr’? 27 | for (int i = 0; i < vec[brr[z]].size; i++) { | ^~~ | arr kaimynu_kaimynai.cpp:28:9: error: ‘mp’ was not declared in this scope 28 | mp[vec[brr[z]][i]] = true; | ^~ kaimynu_kaimynai.cpp:31:29: error: ‘brr’ was not declared in this scope; did you mean ‘arr’? 31 | for (int i = 0; i < vec[brr[z]].size; i++) { | ^~~ | arr kaimynu_kaimynai.cpp:33:18: error: ‘mp’ was not declared in this scope 33 | if (!mp[vec[vec[brr[z]][i]][j]] && z != vec[vec[brr[z]][i]][j]) { | ^~
nr. | result | time | message |
---|