Pagini recente »
Borderou de evaluare (job #74936)
|
Borderou de evaluare (job #540189)
|
Borderou de evaluare (job #700078)
|
Borderou de evaluare (job #598958)
Borderou de evaluare (job #598958)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:18:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
18 | for(i=p+1; i<=n; i++)
| ^~~
main.c:20:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
20 | n--;
| ^
main.c:24:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
24 | for(i=n-1; i>=p-1; i--)
| ^~~
main.c:26:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
26 | v[p-1]=e;
| ^
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin,"%d%d%d",&n,&e,&p);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d",&v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
262 kb
|
OK
|
10
|
2
|
1 ms
|
262 kb
|
Incorect
|
0
|
3
|
1 ms
|
262 kb
|
Incorect
|
0
|
4
|
1 ms
|
262 kb
|
Incorect
|
0
|
5
|
1 ms
|
262 kb
|
Incorect
|
0
|
6
|
1 ms
|
262 kb
|
Incorect
|
0
|
7
|
1 ms
|
262 kb
|
Incorect
|
0
|
8
|
1 ms
|
262 kb
|
Incorect
|
0
|
9
|
1 ms
|
262 kb
|
Incorect
|
0
|
10
|
1 ms
|
262 kb
|
Incorect
|
0
|
Punctaj total
|
10
|