Pagini recente »
Borderou de evaluare (job #789917)
|
Borderou de evaluare (job #857186)
Borderou de evaluare (job #857186)
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 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%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 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
43 | scanf("%lld",&sumpart[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:45:13: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
45 | scanf("%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
|
508 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
3
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
4
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
5
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
6
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
7
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
8
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
9
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
11
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
12
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
13
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
14
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
15
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
16
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
17
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
18
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
19
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
20
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
21
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
22
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
23
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
24
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
25
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
26
|
1 ms
|
292 kb
|
Incorect
|
0
|
|
27
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
28
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
29
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
30
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
31
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
32
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
33
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
34
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
35
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
Punctaj total
|
0
|