Pagini recente » Borderou de evaluare (job #1128239) | Borderou de evaluare (job #2712053) | Borderou de evaluare (job #3237001) | Borderou de evaluare (job #1913081) | Borderou de evaluare (job #2796712)
Borderou de evaluare (job #2796712)
Raport evaluator
Compilare:
main.cpp: In constructor 'graf::graf(std::vector<std::vector<int> >, int, int)':
main.cpp:10:30: warning: 'graf::adiacenta' will be initialized after [-Wreorder]
10 | vector < vector < int >> adiacenta;
| ^~~~~~~~~
main.cpp:9:9: warning: 'int graf::noduri' [-Wreorder]
9 | int noduri, muchii;
| ^~~~~~
main.cpp:14:5: warning: when initialized here [-Wreorder]
14 | graf(vector < vector < int >> listaAdiacenta, int noduri, int muchii): adiacenta(listaAdiacenta), noduri(noduri), muchii(muchii) {};
| ^~~~
main.cpp: In constructor 'graf::graf(int, int)':
main.cpp:10:30: warning: 'graf::adiacenta' will be initialized after [-Wreorder]
10 | vector < vector < int >> adiacenta;
| ^~~~~~~~~
main.cpp:9:9: warning: 'int graf::noduri' [-Wreorder]
9 | int noduri, muchii;
| ^~~~~~
main.cpp:17:5: warning: when initialized here [-Wreorder]
17 | graf(int noduri, int muchii): adiacenta(noduri + 1), noduri(noduri), muchii(muchii) {};
| ^~~~
main.cpp: In function 'bool havelHakimi(std::vector<int>&)':
main.cpp:308:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
308 | if (x > a.size()) {
| ~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | Numar de componente gresit | 0 | 0 |
2 | 1ms | 184kb | Corect | 10 |
3 | 1ms | 184kb | Numar de componente gresit | 0 |
4 | 3ms | 409kb | Numar de componente gresit | 0 | 0 |
5 | 15ms | 438kb | Numar de componente gresit | 0 |
6 | 13ms | 1073kb | Numar de componente gresit | 0 |
7 | 51ms | 2166kb | Numar de componente gresit | 0 | 0 |
8 | 77ms | 4345kb | Numar de componente gresit | 0 |
9 | 165ms | 9371kb | Numar de componente gresit | 0 |
10 | 215ms | 16908kb | Corect | 10 | 10 |
Punctaj total | 10 |