Pagini recente » Borderou de evaluare (job #30005) | Borderou de evaluare (job #297073) | Borderou de evaluare (job #1075572) | Borderou de evaluare (job #729843) | Borderou de evaluare (job #3036656)
Borderou de evaluare (job #3036656)
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:94:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for(int i = 0; i < revedgecom[curr].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:107:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
107 | for(int j = 0; j < chiarcomponenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:112:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
112 | for(int i = 0; i < rasp.size(); i++)
| ~~^~~~~~~~~~~~~
main.cpp:103:9: warning: unused variable 'ans' [-Wunused-variable]
103 | int ans = 0;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 303kb | Incorect | 0 |
2 | 4ms | 303kb | Incorect | 0 |
3 | 4ms | 303kb | OK | 5 |
4 | 4ms | 303kb | Incorect | 0 |
5 | 4ms | 557kb | OK | 5 |
6 | 4ms | 557kb | OK | 5 |
7 | 4ms | 557kb | Incorect | 0 |
8 | 4ms | 557kb | Incorect | 0 |
9 | 4ms | 557kb | Incorect | 0 |
10 | 4ms | 557kb | Incorect | 0 |
11 | 19ms | 7749kb | Incorect | 0 |
12 | 14ms | 7430kb | Incorect | 0 |
13 | 44ms | 18587kb | Incorect | 0 |
14 | 44ms | 18821kb | Incorect | 0 |
15 | 64ms | 25497kb | Incorect | 0 |
16 | 64ms | 25513kb | OK | 5 |
17 | 98ms | 43646kb | Incorect | 0 |
18 | 114ms | 42807kb | Incorect | 0 |
19 | 138ms | 50343kb | OK | 5 |
20 | 153ms | 60092kb | Incorect | 0 |
Punctaj total | 25 |