Pagini recente » Borderou de evaluare (job #136042) | Borderou de evaluare (job #550247) | Borderou de evaluare (job #1055590) | Borderou de evaluare (job #2809229) | Borderou de evaluare (job #3216559)
Borderou de evaluare (job #3216559)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int)':
main.cpp:22:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for (int i=0; i<v[k].size(); ++i)
| ~^~~~~~~~~~~~
main.cpp: In function 'void DFSt(int)':
main.cpp:30:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for (int i=0; i<vt[k].size(); ++i)
| ~^~~~~~~~~~~~~
main.cpp: In function 'void DF(int)':
main.cpp:36:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for (int i=0; i<tare[k].size(); ++i)
| ~^~~~~~~~~~~~~~~
main.cpp: In function 'void procesare()':
main.cpp:54:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for (i=0; i<noduri[st[1]].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~
main.cpp:66:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | for (j=0; j<tare[st[i]].size(); ++j)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp:45:11: warning: unused variable 'stiva' [-Wunused-variable]
45 | int i,stiva=0,var=0;
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:106:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
106 | for (j=0; j<noduri[i].size(); ++j)//pentru fiecare nod din componenta tare conexa
| ~^~~~~~~~~~~~~~~~~
main.cpp:109:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
109 | for (o=0; o<v[nod].size(); ++o)//verific vecinii
| ~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 557kb | OK | 10 |
2 | 1ms | 557kb | Incorect | 0 |
3 | 1ms | 557kb | Incorect | 0 |
4 | 1ms | 557kb | Incorect | 0 |
5 | 1ms | 557kb | 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 | 10 |