Pagini recente »
Borderou de evaluare (job #723219)
|
Borderou de evaluare (job #661649)
|
Borderou de evaluare (job #367628)
|
Utilizatori înregistrați la Olimpiada pe școală clasa a 6-a
|
Borderou de evaluare (job #758312)
Borderou de evaluare (job #758312)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:51: warning: unused variable 'p' [-Wunused-variable]
10 | int n,c,i,j,min,max,sum,summin,j2,omax,pmax,o,p;
| ^
main.c:10:25: warning: unused variable 'sum' [-Wunused-variable]
10 | int n,c,i,j,min,max,sum,summin,j2,omax,pmax,o,p;
| ^~~
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin,"%d%d",&c,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:35:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | fscanf(fin,"%d",&v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:65:7:
/usr/include/bits/stdio2.h:79:10: warning: 'omax' 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:10:39: note: 'omax' was declared here
10 | int n,c,i,j,min,max,sum,summin,j2,omax,pmax,o,p;
| ^~~~
In function 'fprintf',
inlined from 'main' at main.c:65:7:
/usr/include/bits/stdio2.h:79:10: warning: 'pmax' 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:10:44: note: 'pmax' was declared here
10 | int n,c,i,j,min,max,sum,summin,j2,omax,pmax,o,p;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Pomana (pentru ca un scor de 0p nu arata asa bine ca un scor de 10p)
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
4
|
3
|
1 ms
|
245 kb
|
OK
|
4
|
4
|
1 ms
|
245 kb
|
OK
|
4
|
5
|
1 ms
|
245 kb
|
OK
|
4
|
6
|
1 ms
|
245 kb
|
OK
|
4
|
7
|
9 ms
|
249 kb
|
OK
|
5
|
8
|
2 ms
|
245 kb
|
OK
|
5
|
9
|
19 ms
|
507 kb
|
OK
|
5
|
10
|
1 ms
|
249 kb
|
a) incorect; b) incorect
|
0
|
11
|
34 ms
|
503 kb
|
a) incorect; b) incorect
|
0
|
12
|
1 ms
|
245 kb
|
OK
|
5
|
13
|
49 ms
|
503 kb
|
a) incorect; b) incorect
|
0
|
14
|
49 ms
|
507 kb
|
OK
|
5
|
15
|
39 ms
|
507 kb
|
a) incorect; b) incorect
|
0
|
16
|
40 ms
|
512 kb
|
OK
|
5
|
17
|
1 ms
|
245 kb
|
OK
|
4
|
18
|
1 ms
|
245 kb
|
a) incorect; b) OK
|
2
|
19
|
2 ms
|
245 kb
|
a) incorect; b) OK
|
2
|
20
|
1 ms
|
245 kb
|
a) incorect; b) incorect
|
0
|
21
|
1 ms
|
245 kb
|
a) incorect; b) incorect
|
0
|
Punctaj total
|
68
|