Borderou de evaluare (job #2984769)

Utilizator verde.cristian2005Verde Flaviu-Cristian verde.cristian2005 Data 24 februarie 2023 20:56:35
Problema Bazaf Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:18: warning: unused variable 'x' [-Wunused-variable] 12 | int p, n, i, x; | ^ main.cpp:41:21: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations] 41 | fact[i] = i * fact[i - 1]; | ~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:40:26: note: within this loop 40 | for(int i = 1; i <= 12; i++) | ~~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbOK10
30ms184kbIncorect0
40ms184kbOK10
50ms184kbOK10
60ms184kbOK10
70ms184kbOK10
850ms1437kbOK10
947ms1437kbOK10
1048ms1368kbOK10
Punctaj total90

Ceva nu functioneaza?