Pagini recente » Borderou de evaluare (job #2443302) | Borderou de evaluare (job #1187467) | Borderou de evaluare (job #2041505) | Borderou de evaluare (job #2974346) | Borderou de evaluare (job #2950449)
Borderou de evaluare (job #2950449)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int, int&)':
main.cpp:38:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(i = 0; i < graf[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int apmcnx(int, int&)':
main.cpp:47:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(i = 0; i < graf[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:58:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for(i = 0; i < graf[pqtopnod].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:103:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
103 | fprintf(fout, "%d", cnx[0].size());
| ~^ ~~~~~~~~~~~~~
| | |
| int std::vector<int>::size_type {aka long unsigned int}
| %ld
main.cpp:113:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
113 | for(i = 0; i < cnx[0].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp:115:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
115 | for(j = 0; j < graf[nod].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:127:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
127 | for(i = 0; i < cnx[corespcnx[pqtopnod]].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:129:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
129 | for(j = 0; j < graf[nod].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:136:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
136 | for(i = 0; i < cnx[aux].size(); i++){
| ~~^~~~~~~~~~~~~~~~~
main.cpp:154:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
154 | for(i = 0; i < cnx[0].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp:156:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
156 | for(j = 0; j < graf[nod].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:167:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
167 | for(i = 0; i < cnx[corespcnx[pqtopnod]].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:169:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
169 | for(j = 0; j < graf[nod].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:176:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
176 | for(i = 0; i < cnx[aux].size(); i++){
| ~~^~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Corect! | 2 |
2 | 4ms | 2281kb | Corect! | 2 |
3 | 15ms | 5156kb | Corect! | 2 |
4 | 0ms | 184kb | Corect! | 2 |
5 | 0ms | 184kb | Corect! | 2 |
6 | 10ms | 2605kb | Corect! | 2 |
7 | 0ms | 184kb | Corect! | 2 |
8 | 10ms | 2994kb | Corect! | 2 |
9 | 10ms | 2543kb | Corect! | 2 |
10 | 8ms | 2543kb | Corect! | 2 |
11 | 0ms | 184kb | Corect | 4 |
12 | 3ms | 2281kb | Corect | 4 |
13 | 13ms | 5148kb | Corect | 4 |
14 | 1ms | 184kb | Corect | 4 |
15 | 0ms | 184kb | Corect | 4 |
16 | 14ms | 3903kb | Corect | 4 |
17 | 0ms | 184kb | Corect | 4 |
18 | 12ms | 4444kb | Corect | 4 |
19 | 7ms | 2486kb | Corect | 4 |
20 | 13ms | 3485kb | Corect | 4 |
21 | 0ms | 184kb | Corect! | 3 |
22 | 10ms | 3067kb | Corect! | 3 |
23 | 13ms | 5074kb | Corect! | 3 |
24 | 0ms | 184kb | Corect! | 3 |
25 | 0ms | 184kb | Corect! | 3 |
26 | 12ms | 3854kb | Corect! | 3 |
27 | 0ms | 184kb | Corect! | 3 |
28 | 23ms | 4186kb | Corect! | 3 |
29 | 13ms | 3137kb | Corect! | 3 |
30 | 12ms | 3469kb | Corect! | 3 |
31 | 0ms | 184kb | Corect! (Exemplu) | 10 |
Punctaj total | 100 |