Borderou de evaluare (job #2918942)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 14 august 2022 09:53:19
Problema Scara 3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 45

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:45:23: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 45 | if (cost[nod1][nod2]>1000000-100*(nod2-nod1)+i1) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:48:25: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 48 | if (cost[nod1][nod2+1]>1000000-100*(nod2-nod1+1)+i1) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:77:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 77 | if (c[i]!=0) | ^~ main.cpp:82:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 82 | c[v]=0; | ^ main.cpp:11:16: warning: unused variable 'cx' [-Wunused-variable] 11 | int n,k,j,i,x,cx,i1,nod1,nod2,y,p,v; | ^~ main.cpp:82:7: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] 82 | c[v]=0; | ~~~~^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms2404kbOK5
21ms184kbOK5
33ms409kbOK5
42ms184kbOK5
51ms184kbOK5
61ms184kbOK5
71ms184kbOK5
81ms184kbOK5
91ms184kbOK5
101ms184kbIncorect0
116ms4751kbMemory limit exceeded0
1214ms4751kbMemory limit exceeded0
136ms4751kbMemory limit exceeded0
143ms4657kbKilled by Signal 90
1515ms4390kbKilled by Signal 90
163ms3846kbKilled by Signal 90
1712ms4755kbMemory limit exceeded0
1813ms4755kbMemory limit exceeded0
1914ms4706kbKilled by Signal 90
2011ms4755kbMemory limit exceeded0
Punctaj total45

Ceva nu functioneaza?