Borderou de evaluare (job #2319267)

Utilizator TheSeekerRobert Cristian Dobra TheSeeker Data 13 ianuarie 2019 21:13:07
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:14:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;(1<<i)<=x;i++){ ~~~~~~^~~ main.cpp:15:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (((1<<i)&x)>0) ^~ main.cpp:17:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' a=(a*a)%m; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
62ms131kbOK10
72ms131kbOK10
82ms131kbOK10
92ms131kbOK10
102ms131kbOK10
Punctaj total100

Ceva nu functioneaza?