Borderou de evaluare (job #2945561)

Utilizator Codrut198Codrut Dinca Codrut198 Data 23 noiembrie 2022 21:44:10
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 11 | for(i=2;pow(2,i)<p;i++) | ^~~ main.cpp:12:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 12 | x[i]=x[i-1]*x[i-1]%pr;p--; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbOK10
30ms184kbOK10
40ms184kbOK10
50ms184kbOK10
60ms184kbOK10
70ms184kbOK10
80ms184kbOK10
90ms184kbOK10
100ms184kbOK10
Punctaj total100

Ceva nu functioneaza?