Pagini recente » Borderou de evaluare (job #2660941) | Borderou de evaluare (job #2319507) | Borderou de evaluare (job #2319515) | Borderou de evaluare (job #2335843) | Borderou de evaluare (job #2335883)
Borderou de evaluare (job #2335883)
Raport evaluator
Compilare:
main.cpp: In function 'int power(int, int)':
main.cpp:11:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(y==1)
^~
main.cpp:13:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(y%2==0)
^~
main.cpp:13:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
main.cpp:15:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
return x*power(x*x,y/2);
^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | OK | 10 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 10 |