Pagini recente »
Borderou de evaluare (job #262705)
|
Borderou de evaluare (job #78749)
|
Borderou de evaluare (job #575300)
|
Clasament s7_9g
|
Borderou de evaluare (job #771068)
Borderou de evaluare (job #771068)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin, "%d%d%d", &n, &k, &p);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:25:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | fscanf(fin, "%d", &b);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:964,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:48:5:
/usr/include/bits/stdio2.h:79:10: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:8:21: note: 'poz' was declared here
8 | int n,k,p,i,b,j,poz,maxim,cnt,x;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
241 kb
|
OK
|
10
|
4
|
1 ms
|
249 kb
|
OK
|
10
|
5
|
39 ms
|
245 kb
|
OK
|
10
|
6
|
279 ms
|
1310 kb
|
OK
|
10
|
7
|
519 ms
|
1294 kb
|
OK
|
10
|
8
|
459 ms
|
770 kb
|
Incorect
|
0
|
9
|
579 ms
|
2609 kb
|
OK
|
10
|
10
|
588 ms
|
2621 kb
|
OK
|
10
|
Punctaj total
|
90
|