Pagini recente » Borderou de evaluare (job #1633608) | Borderou de evaluare (job #941083) | Borderou de evaluare (job #2944701)
Borderou de evaluare (job #2944701)
Raport evaluator
Compilare:
main.cpp: In function 'int BFS(int, int, int*, int*, std::vector<std::pair<int, int> >*)':
main.cpp:50:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | for (int i = 0; i < adjList[x].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:101:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
101 | for (int i = 0; i < edges.size() && cnt != N - 1; i++) {
| ~~^~~~~~~~~~~~~~
main.cpp:108:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
108 | for (int i = 0; i < edgesToAdd.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int BFS(int, int, int*, int*, std::vector<std::pair<int, int> >*)':
main.cpp:41:16: warning: control reaches end of non-void function [-Wreturn-type]
41 | queue<int> queue;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 184kb | OK | 10 | 0 |
2 | 0ms | 184kb | Incorect | 0 |
3 | 3ms | 970kb | Incorect | 0 |
4 | 127ms | 4399kb | Incorect | 0 |
5 | 122ms | 4083kb | Incorect | 0 |
6 | 68ms | 3260kb | Incorect | 0 |
7 | 125ms | 4825kb | Incorect | 0 |
8 | 232ms | 7557kb | Incorect | 0 |
9 | 305ms | 9048kb | Incorect | 0 |
10 | 313ms | 9023kb | Incorect | 0 |
Punctaj total | 0 |