Grafų saugojimo būdai
- [1] 2025-12-13 12:45 (0)
- [2] 2025-12-13 12:46 (92)
- [3] 2025-12-13 12:49 (92)
- [4] 2025-12-13 13:06 (92)
- [5] 2025-12-13 14:15 (0)
- [6] 2025-12-13 14:16 (100)
Taškai: 0
Compile: FAIL
grafu_saugojimo_budai.cpp:5:16: error: ‘NMAX’ was not declared in this scope 5 | vector<ll> adj[NMAX]; | ^~~~ grafu_saugojimo_budai.cpp:7:14: error: ‘NMAX’ was not declared in this scope 7 | ll adjMatrix[NMAX][NMAX]; | ^~~~ grafu_saugojimo_budai.cpp:7:20: error: ‘NMAX’ was not declared in this scope 7 | ll adjMatrix[NMAX][NMAX]; | ^~~~ grafu_saugojimo_budai.cpp: In function ‘int main()’: grafu_saugojimo_budai.cpp:25:9: error: ‘adjMatrix’ was not declared in this scope 25 | adjMatrix[i][j] = 1; | ^~~~~~~~~ grafu_saugojimo_budai.cpp:28:9: error: ‘adj’ was not declared in this scope 28 | adj[i].push_back(j); | ^~~ grafu_saugojimo_budai.cpp:35:21: error: ‘adjMatrix’ was not declared in this scope 35 | cout << adjMatrix[q][l]; | ^~~~~~~~~ grafu_saugojimo_budai.cpp:43:17: error: ‘adj’ was not declared in this scope 43 | cout << adj[q].size() << " "; | ^~~
| nr. | result | time | message |
|---|
