Pagini recente » Borderou de evaluare (job #1849781) | Borderou de evaluare (job #2464553) | Borderou de evaluare (job #1757406) | Borderou de evaluare (job #753243) | Borderou de evaluare (job #2964044)
Borderou de evaluare (job #2964044)
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:18:28: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
18 | if((v[i]>ma2&&p!=i)&&i<p)
| ~~~~~~~~~~~~~~~~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Incorect | 0 |
2 | 0ms | 184kb | Corect | 5 |
3 | 0ms | 184kb | Incorect | 0 |
4 | 0ms | 184kb | Incorect | 0 |
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 | 10ms | 577kb | Incorect | 0 |
22 | 7ms | 634kb | Incorect | 0 |
Punctaj total | 5 |