Pagini recente »
Borderou de evaluare (job #608699)
|
Borderou de evaluare (job #436362)
|
Borderou de evaluare (job #447707)
|
Borderou de evaluare (job #300279)
|
Borderou de evaluare (job #653355)
Borderou de evaluare (job #653355)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
16 | for(i=p1+1;i<n;i++)
| ^~~
main.cpp:18:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
18 | n--;
| ^
main.cpp:19:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
19 | for(i=n-1;i>=p;i--)
| ^~~
main.cpp:21:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
21 | v[p]=e;
| ^
main.cpp:9:26: warning: unused variable 'nr' [-Wunused-variable]
9 | int n,e,p,i,p1,j,aux,nr;
| ^~
main.cpp:17:15: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized]
17 | v[i-1]=v[i];
| ~~~~~~^~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
110 kb
|
OK
|
10
|
3
|
1 ms
|
114 kb
|
OK
|
10
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
OK
|
10
|
6
|
1 ms
|
114 kb
|
OK
|
10
|
7
|
1 ms
|
118 kb
|
OK
|
10
|
8
|
1 ms
|
245 kb
|
OK
|
10
|
9
|
1 ms
|
237 kb
|
Incorect
|
0
|
10
|
7 ms
|
229 kb
|
OK
|
10
|
Punctaj total
|
80
|