Pagini recente »
Borderou de evaluare (job #857190)
Borderou de evaluare (job #857190)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:31: warning: unused variable 't' [-Wunused-variable]
9 | int cer,n,k,i,j,poz,st,dr,t;
| ^
main.c:9:19: warning: unused variable 'j' [-Wunused-variable]
9 | int cer,n,k,i,j,poz,st,dr,t;
| ^
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d%d%d",&cer,&n,&k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin,"%lld",&sumpart[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin,"%d",&k);
| ^~~~~~~~~~~~~~~~~~~
main.c:27:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | fscanf(fin,"%lld",&sumpart[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:43:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
43 | fscanf(fin,"%lld",&sumpart[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:45:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
45 | fscanf(fin,"%d",&k);
| ^~~~~~~~~~~~~~~~~~~
main.c:23:9: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
23 | fprintf(fout,"%d\n",poz+1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:9:21: note: 'poz' was declared here
9 | int cer,n,k,i,j,poz,st,dr,t;
| ^~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
0 ms
|
292 kb
|
OK
|
2
|
|
2
|
0 ms
|
508 kb
|
OK
|
2
|
|
3
|
3 ms
|
508 kb
|
OK
|
2
|
|
4
|
5 ms
|
292 kb
|
OK
|
2
|
|
5
|
7 ms
|
764 kb
|
OK
|
3
|
|
6
|
10 ms
|
764 kb
|
OK
|
3
|
|
7
|
12 ms
|
756 kb
|
OK
|
3
|
|
8
|
17 ms
|
1020 kb
|
OK
|
3
|
|
9
|
21 ms
|
1060 kb
|
OK
|
4
|
|
10
|
229 ms
|
7988 kb
|
OK
|
5
|
|
11
|
0 ms
|
292 kb
|
OK
|
6
|
|
12
|
0 ms
|
292 kb
|
OK
|
6
|
|
13
|
6 ms
|
764 kb
|
Incorect
|
0
|
|
14
|
12 ms
|
1276 kb
|
OK
|
1
|
|
15
|
24 ms
|
2044 kb
|
OK
|
4
|
|
16
|
35 ms
|
2596 kb
|
OK
|
1
|
|
17
|
96 ms
|
6452 kb
|
OK
|
1
|
|
18
|
106 ms
|
7204 kb
|
OK
|
2
|
|
19
|
117 ms
|
7988 kb
|
OK
|
4
|
|
20
|
118 ms
|
7988 kb
|
OK
|
3
|
|
21
|
0 ms
|
508 kb
|
OK
|
1
|
|
22
|
1 ms
|
508 kb
|
OK
|
1
|
|
23
|
3 ms
|
764 kb
|
Incorect
|
0
|
|
24
|
12 ms
|
804 kb
|
Incorect
|
0
|
|
25
|
71 ms
|
2852 kb
|
Incorect
|
0
|
|
26
|
59 ms
|
2356 kb
|
Incorect
|
0
|
|
27
|
117 ms
|
4388 kb
|
Incorect
|
0
|
|
28
|
118 ms
|
4604 kb
|
OK
|
1
|
|
29
|
118 ms
|
5668 kb
|
OK
|
6
|
|
30
|
234 ms
|
8228 kb
|
OK
|
1
|
|
31
|
211 ms
|
7476 kb
|
Incorect
|
0
|
|
32
|
222 ms
|
8188 kb
|
OK
|
2
|
|
33
|
223 ms
|
8188 kb
|
OK
|
2
|
|
34
|
21 ms
|
1892 kb
|
OK
|
5
|
|
35
|
21 ms
|
1672 kb
|
OK
|
6
|
|
Punctaj total
|
82
|