Pagini recente » Borderou de evaluare (job #3277299) | Borderou de evaluare (job #600848) | Borderou de evaluare (job #725952) | Borderou de evaluare (job #154935) | Borderou de evaluare (job #2357540)
Borderou de evaluare (job #2357540)
Raport evaluator
Compilare:
main.cpp: In function 'int rezolva(int, int)':
main.cpp:24:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
main.cpp:26:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
mij=(st+dr)/2;
^~~
main.cpp:16:45: warning: unused variable 'pozfin' [-Wunused-variable]
int st=1,dr=nrintrv,mij=(st+dr)/2,pozst,pozfin;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:44:17: warning: operation on 'k' may be undefined [-Wsequence-point]
inc[++k]=inc[k-1]+n;
^~~
main.cpp: In function 'int rezolva(int, int)':
main.cpp:28:25: warning: 'pozst' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(intervale[pozst].sfarsit>=intervdr)
~~~~~~~~~~~~~~~~~^~~~~~~
main.cpp: In function 'int main()':
main.cpp:28:25: warning: 'pozst' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(intervale[pozst].sfarsit>=intervdr)
~~~~~~~~~~~~~~~~~^~~~~~~
main.cpp:16:39: note: 'pozst' was declared here
int st=1,dr=nrintrv,mij=(st+dr)/2,pozst,pozfin;
^~~~~
main.cpp:28:25: warning: 'pozst' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(intervale[pozst].sfarsit>=intervdr)
~~~~~~~~~~~~~~~~~^~~~~~~
main.cpp:16:39: note: 'pozst' was declared here
int st=1,dr=nrintrv,mij=(st+dr)/2,pozst,pozfin;
^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 14ms | 262kb | Incorect | 0 |
2 | 14ms | 131kb | Incorect | 0 |
3 | 161ms | 1966kb | Incorect | 0 |
4 | 125ms | 1703kb | Incorect | 0 |
5 | 77ms | 524kb | Incorect | 0 |
6 | 214ms | 2228kb | Incorect | 0 |
7 | 211ms | 2228kb | Incorect | 0 |
8 | 225ms | 2228kb | Incorect | 0 |
9 | 244ms | 2228kb | Incorect | 0 |
10 | 14ms | 131kb | Incorect | 0 |
Punctaj total | 0 |