Pagini recente » Borderou de evaluare (job #2514266) | Borderou de evaluare (job #3177418) | Borderou de evaluare (job #1420579) | Borderou de evaluare (job #1231821) | Borderou de evaluare (job #2964049)
Borderou de evaluare (job #2964049)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
35 | if(i>p&&(v[i-1]<v[i]||v[i+1]>v[i]))
| ^~
main.cpp:37:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
37 | if(i>p&&v[i]<ma2)
| ^~
main.cpp:8:36: warning: unused variable 'p2' [-Wunused-variable]
8 | int n,c,v[100002],ma=0,p,ma2=0,p2;
| ^~
main.cpp:41:8: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
41 | g<<p;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Corect | 5 |
2 | 0ms | 184kb | Corect | 5 |
3 | 0ms | 184kb | Corect | 5 |
4 | 0ms | 184kb | Corect | 5 |
5 | 0ms | 184kb | Incorect | 0 |
6 | 0ms | 184kb | Incorect | 0 |
7 | 0ms | 184kb | Incorect | 0 |
8 | 0ms | 184kb | Incorect | 0 |
9 | 0ms | 184kb | Incorect | 0 |
10 | 0ms | 184kb | Incorect | 0 |
11 | 0ms | 184kb | Incorect | 0 |
12 | 0ms | 184kb | Incorect | 0 |
13 | 0ms | 184kb | Incorect | 0 |
14 | 0ms | 184kb | Incorect | 0 |
15 | 0ms | 184kb | Incorect | 0 |
16 | 0ms | 184kb | Incorect | 0 |
17 | 0ms | 184kb | Incorect | 0 |
18 | 0ms | 184kb | Incorect | 0 |
19 | 0ms | 184kb | Incorect | 0 |
20 | 0ms | 184kb | Incorect | 0 |
21 | 8ms | 536kb | Incorect | 0 |
22 | 8ms | 573kb | Incorect | 0 |
Punctaj total | 20 |