Pagini recente » Borderou de evaluare (job #2948733) | Borderou de evaluare (job #105902) | Borderou de evaluare (job #3280550) | Borderou de evaluare (job #637080) | Borderou de evaluare (job #3036650)
Borderou de evaluare (job #3036650)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:23:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i = 0; i < edge[node].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void dfs1(int, int)':
main.cpp:33:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(int i = 0; i < revedge[node].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:60:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for(int j = 0; j < edge[i].size(); j++){
| ~~^~~~~~~~~~~~~~~~
main.cpp:79:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | for(int i = 0; i < edgecom[curr].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:96:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
96 | for(int i = 0; i < revedgecom[curr].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:111:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
111 | for(int j = 0; j < chiarcomponenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:116:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
116 | for(int i = 0; i < rasp.size(); i++)
| ~~^~~~~~~~~~~~~
main.cpp:107:9: warning: unused variable 'ans' [-Wunused-variable]
107 | int ans = 0;
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 303kb | Incorect | 0 |
| 2 | 4ms | 303kb | Incorect | 0 |
| 3 | 4ms | 303kb | Incorect | 0 |
| 4 | 4ms | 303kb | Incorect | 0 |
| 5 | 4ms | 557kb | Incorect | 0 |
| 6 | 4ms | 557kb | Incorect | 0 |
| 7 | 4ms | 561kb | Incorect | 0 |
| 8 | 4ms | 557kb | Incorect | 0 |
| 9 | 4ms | 557kb | Incorect | 0 |
| 10 | 4ms | 557kb | Incorect | 0 |
| 11 | 14ms | 7475kb | Incorect | 0 |
| 12 | 19ms | 7667kb | Incorect | 0 |
| 13 | 44ms | 18571kb | Incorect | 0 |
| 14 | 44ms | 18792kb | Incorect | 0 |
| 15 | 64ms | 25493kb | Incorect | 0 |
| 16 | 64ms | 25501kb | Incorect | 0 |
| 17 | 98ms | 43184kb | Incorect | 0 |
| 18 | 113ms | 42704kb | Incorect | 0 |
| 19 | 143ms | 50167kb | Incorect | 0 |
| 20 | 158ms | 59924kb | Incorect | 0 |
| Punctaj total | 0 |