Pagini recente » Borderou de evaluare (job #1623918) | Borderou de evaluare (job #862207) | Borderou de evaluare (job #2795144) | Borderou de evaluare (job #2134286) | Borderou de evaluare (job #2335881)
Borderou de evaluare (job #2335881)
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 | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 0 |