Pagini recente »
Borderou de evaluare (job #574873)
|
Borderou de evaluare (job #528492)
|
Borderou de evaluare (job #342121)
|
Borderou de evaluare (job #434790)
|
Borderou de evaluare (job #632930)
Borderou de evaluare (job #632930)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:15:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
15 | if(v[p]==0)
| ^~
main.c:17:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
17 | u[p]=i;
| ^
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d%d",&n,&c);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin,"%d",&p);
| ^~~~~~~~~~~~~~~~~~~
main.c:29:47: warning: 'cmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
29 | fprintf(fout,"%d\n%d\n%d\n%d\n",max,cmax,v[cmax]-1,n-u[cmax]);
| ~^~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
118 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
6
|
1 ms
|
114 kb
|
Incorect
|
0
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
118 kb
|
Incorect
|
0
|
9
|
1 ms
|
118 kb
|
Incorect
|
0
|
10
|
1 ms
|
118 kb
|
Incorect
|
0
|
Punctaj total
|
0
|