Pagini recente » Borderou de evaluare (job #1930084) | Borderou de evaluare (job #2469057) | Borderou de evaluare (job #1529265) | Borderou de evaluare (job #78060) | Borderou de evaluare (job #3216557)
Borderou de evaluare (job #3216557)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int)':
main.cpp:18:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for (int i=0; i<v[k].size(); ++i)
| ~^~~~~~~~~~~~
main.cpp: In function 'void DFSt(int)':
main.cpp:26:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for (int i=0; i<vt[k].size(); ++i)
| ~^~~~~~~~~~~~~
main.cpp: In function 'void DF(int)':
main.cpp:32:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for (int i=0; i<tare[k].size(); ++i)
| ~^~~~~~~~~~~~~~~
main.cpp: In function 'void procesare()':
main.cpp:50:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | for (i=0; i<noduri[st[1]].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~
main.cpp:62:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for (j=0; j<tare[st[i]].size(); ++j)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp:41:11: warning: unused variable 'stiva' [-Wunused-variable]
41 | int i,stiva=0,var=0;
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:102:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
102 | for (j=0; j<noduri[i].size(); ++j)//pentru fiecare nod din componenta tare conexa
| ~^~~~~~~~~~~~~~~~~
main.cpp:105:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
105 | for (o=0; o<v[nod].size(); ++o)//verific vecinii
| ~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 561kb | Incorect | 0 |
2 | 1ms | 557kb | Incorect | 0 |
3 | 1ms | 557kb | Incorect | 0 |
4 | 1ms | 557kb | Incorect | 0 |
5 | 1ms | 561kb | Incorect | 0 |
6 | 1ms | 557kb | Incorect | 0 |
7 | 1ms | 557kb | Incorect | 0 |
8 | 1ms | 557kb | Incorect | 0 |
9 | 1ms | 557kb | Incorect | 0 |
10 | 1ms | 557kb | Incorect | 0 |
Punctaj total | 0 |