Pagini recente » Borderou de evaluare (job #2040716) | Borderou de evaluare (job #2354557) | Borderou de evaluare (job #1775598) | Borderou de evaluare (job #1176606) | Borderou de evaluare (job #2285875)
Borderou de evaluare (job #2285875)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int)':
main.cpp:79:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vecin[ns].size(); ++i)
~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:144:27: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[6]' [-Wformat=]
fscanf(fin,"%s",&s);
^
main.cpp:152:64: warning: array subscript has type 'char' [-Wchar-subscripts]
v[i].cost += ridicare_la_putere(5,j) * energie[s[j]];
^
main.cpp:168:21: warning: unused variable 'cnt' [-Wunused-variable]
int sum = 0,cnt = 0,nr = 0;
^~~
main.cpp:137:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d %d",&tt,&n,&m);
^
main.cpp:142:49: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&v[i].nod1,&v[i].nod2);
^
main.cpp:144:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%s",&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 7ms | 3145kb | Corect! | 2 |
| 2 | 35ms | 4194kb | Corect! | 2 |
| 3 | 46ms | 5767kb | Corect! | 2 |
| 4 | 8ms | 3145kb | Corect! | 2 |
| 5 | 9ms | 3145kb | Corect! | 2 |
| 6 | 44ms | 4718kb | Corect! | 2 |
| 7 | 9ms | 3145kb | Corect! | 2 |
| 8 | 42ms | 4976kb | Corect! | 2 |
| 9 | 36ms | 4194kb | Corect! | 2 |
| 10 | 43ms | 4718kb | Corect! | 2 |
| 11 | 8ms | 3145kb | Corect | 4 |
| 12 | 39ms | 4194kb | Corect | 4 |
| 13 | 57ms | 5767kb | Corect | 4 |
| 14 | 8ms | 3145kb | Corect | 4 |
| 15 | 9ms | 3145kb | Corect | 4 |
| 16 | 61ms | 5767kb | Corect | 4 |
| 17 | 9ms | 3145kb | Corect | 4 |
| 18 | 54ms | 6287kb | Corect | 4 |
| 19 | 40ms | 4194kb | Corect | 4 |
| 20 | 62ms | 5767kb | Corect | 4 |
| 21 | 8ms | 3145kb | Corect! | 3 |
| 22 | 200ms | 4325kb | Time limit exceeded | 0 |
| 23 | 203ms | 4718kb | Time limit exceeded | 0 |
| 24 | 7ms | 3145kb | Corect! | 3 |
| 25 | 9ms | 3145kb | Corect! | 3 |
| 26 | 200ms | 4718kb | Time limit exceeded | 0 |
| 27 | 8ms | 3145kb | Corect! | 3 |
| 28 | 200ms | 4976kb | Time limit exceeded | 0 |
| 29 | 200ms | 4194kb | Time limit exceeded | 0 |
| 30 | 200ms | 4718kb | Time limit exceeded | 0 |
| 31 | 7ms | 3145kb | Corect! (Exemplu) | 10 |
| Punctaj total | 82 |