Borderou de evaluare (job #2873093)

Utilizator mateitudordmDumitru Matei mateitudordm Data 18 martie 2022 17:24:58
Problema Dif2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'long long int prev(long long int)': main.cpp:31:42: warning: right operand of comma operator has no effect [-Wunused-value] 31 | stx = 1, drx = n, minnx = inf, mijx, ix, solx; | ^~ main.cpp:31:46: warning: right operand of comma operator has no effect [-Wunused-value] 31 | stx = 1, drx = n, minnx = inf, mijx, ix, solx; | ^~~~ main.cpp:31:50: warning: right operand of comma operator has no effect [-Wunused-value] 31 | stx = 1, drx = n, minnx = inf, mijx, ix, solx; | ^ main.cpp: In function 'int main()': main.cpp:51:23: warning: unused variable 'j' [-Wunused-variable] 51 | int c, p1, p2, i, j, st, dr, mij, sol, act, aux, cnt = 0, solfin, p = 0; | ^ main.cpp:51:44: warning: unused variable 'act' [-Wunused-variable] 51 | int c, p1, p2, i, j, st, dr, mij, sol, act, aux, cnt = 0, solfin, p = 0; | ^~~ main.cpp:51:71: warning: unused variable 'p' [-Wunused-variable] 51 | int c, p1, p2, i, j, st, dr, mij, sol, act, aux, cnt = 0, solfin, p = 0; | ^ main.cpp:82:20: warning: 'sol' may be used uninitialized in this function [-Wmaybe-uninitialized] 82 | sol = prev (sol); | ~~~~~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1164ms4866kbOK5
2130ms4816kbOK5
392ms4820kbOK5
492ms4816kbOK5
5130ms4820kbOK5
62ms184kbOK5
72ms184kbOK5
8232ms4759kbOK5
9290ms4820kbOK5
1069ms4694kbOK5
11299ms4816kbOK5
12232ms4755kbOK5
13284ms4820kbOK5
14700ms4816kbTime limit exceeded0
15700ms4853kbTime limit exceeded0
16704ms4816kbTime limit exceeded0
17700ms4870kbTime limit exceeded0
18700ms4816kbTime limit exceeded0
19700ms4816kbTime limit exceeded0
2053ms4816kbOK5
Punctaj total70

Ceva nu functioneaza?