Pagini recente » Borderou de evaluare (job #1063392) | Borderou de evaluare (job #1767343) | Borderou de evaluare (job #1775564) | Borderou de evaluare (job #1975709) | Borderou de evaluare (job #2096812)
Borderou de evaluare (job #2096812)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(v[j]<v[j-1]&&v[j-1]>v[j-2]||v[j]>v[j-1]&&v[j-1]<v[j-2])
^
user.cpp:9:23: warning: unused variable ‘o’ [-Wunused-variable]
int i,p,n=0,cnt=0,o=0,ma=0,flag=0,j;
^
user.cpp:9:32: warning: unused variable ‘flag’ [-Wunused-variable]
int i,p,n=0,cnt=0,o=0,ma=0,flag=0,j;
^
user.cpp:10:10: warning: unused variable ‘c’ [-Wunused-variable]
char c,cc;
^
user.cpp:10:12: warning: unused variable ‘cc’ [-Wunused-variable]
char c,cc;
^
user.cpp:16:16: warning: array subscript is below array bounds [-Warray-bounds]
while(v[i-1]<v[i]&&v[i])
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 424kb | OK | 5 |
| 2 | 0ms | 432kb | OK | 5 |
| 3 | 0ms | 436kb | OK | 5 |
| 4 | 0ms | 496kb | OK | 5 |
| 5 | 0ms | 528kb | OK | 5 |
| 6 | 0ms | 424kb | Incorect | 0 |
| 7 | 0ms | 432kb | Incorect | 0 |
| 8 | 0ms | 436kb | Incorect | 0 |
| 9 | 0ms | 440kb | Incorect | 0 |
| 10 | 0ms | 460kb | Incorect | 0 |
| 11 | 0ms | 528kb | Incorect | 0 |
| 12 | 0ms | 496kb | Incorect | 0 |
| 13 | 0ms | 516kb | Incorect | 0 |
| 14 | 0ms | 532kb | Incorect | 0 |
| 15 | 0ms | 488kb | Incorect | 0 |
| 16 | 0ms | 512kb | Incorect | 0 |
| 17 | 0ms | 520kb | Incorect | 0 |
| 18 | 0ms | 532kb | Incorect | 0 |
| 19 | 0ms | 532kb | Incorect | 0 |
| 20 | 0ms | 428kb | Incorect | 0 |
| Punctaj total | 25 |