Pagini recente » Borderou de evaluare (job #1007953) | Borderou de evaluare (job #119494) | Borderou de evaluare (job #968541) | Borderou de evaluare (job #2399093) | Borderou de evaluare (job #2798486)
Borderou de evaluare (job #2798486)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs1(int)':
main.cpp:16:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for (int i = 0; i<v[x].size(); i++)
| ~^~~~~~~~~~~~
main.cpp: In function 'void dfs2(int)':
main.cpp:29:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for (int i = 0; i<t[x].size(); i++)
| ~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:79:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | for (i = 0; i<c[x].size(); i++)
| ~^~~~~~~~~~~~
main.cpp:81:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for (j = 0; j<c[x].size(); j++)
| ~^~~~~~~~~~~~
main.cpp:83:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for (k = 0; k<c[x].size(); k++)
| ~^~~~~~~~~~~~
main.cpp:86:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | if (k < c[x].size())
| ~~^~~~~~~~~~~~~
main.cpp:89:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
89 | if (j < c[x].size())
| ~~^~~~~~~~~~~~~
main.cpp:97:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
97 | for (i = 3; i<c[x].size(); i++)
| ~^~~~~~~~~~~~
main.cpp:99:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
99 | for (j = 0; j<c[x].size(); j++)
| ~^~~~~~~~~~~~
main.cpp:115:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
115 | for (i = 0; i<c[x].size(); i++)
| ~^~~~~~~~~~~~
main.cpp:95:18: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
95 | rasp[2] = c[x][k];
| ^
main.cpp:94:18: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
94 | rasp[1] = c[x][j];
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 184kb | OK! | 5 |
| 2 | 1ms | 184kb | OK! | 5 |
| 3 | 1ms | 184kb | OK! | 5 |
| 4 | 1ms | 184kb | OK! | 5 |
| 5 | 1ms | 184kb | OK! | 5 |
| 6 | 2ms | 274kb | OK! | 5 |
| 7 | 2ms | 184kb | OK! | 5 |
| 8 | 2ms | 204kb | OK! | 5 |
| 9 | 1ms | 184kb | OK! | 5 |
| 10 | 1ms | 184kb | OK! | 5 |
| 11 | 1ms | 184kb | OK! | 5 |
| 12 | 2ms | 184kb | OK! | 5 |
| 13 | 11ms | 307kb | OK! | 5 |
| 14 | 1ms | 184kb | OK! | 5 |
| 15 | 1ms | 184kb | OK! | 5 |
| 16 | 1ms | 184kb | OK! | 5 |
| 17 | 1ms | 184kb | OK! | 5 |
| 18 | 1ms | 184kb | OK! | 5 |
| 19 | 1ms | 184kb | OK! | 5 |
| 20 | 1ms | 184kb | OK! | 5 |
| Punctaj total | 100 |