Pagini recente »
Borderou de evaluare (job #706874)
Borderou de evaluare (job #706874)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:22: warning: unused variable 'v' [-Wunused-variable]
12 | int p = 0,n,k,nr,v = 0,i,z,ok,cif,j = 0,max = 0,max1 = 0,max2 = 0,s;
| ^
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin,"%d%d%d",&p,&k,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:16:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin,"%d",&nr);
| ^~~~~~~~~~~~~~~~~~~~
main.c:39:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
39 | fscanf(fin,"%d",&nr);
| ^~~~~~~~~~~~~~~~~~~~
main.c:51:18: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
51 | s++;
| ~^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
49 ms
|
249 kb
|
OK
|
5
|
4
|
59 ms
|
249 kb
|
Incorect
|
0
|
5
|
69 ms
|
245 kb
|
Incorect
|
0
|
6
|
59 ms
|
249 kb
|
Incorect
|
0
|
7
|
1 ms
|
241 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
11
|
1 ms
|
241 kb
|
OK
|
5
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
245 kb
|
OK
|
5
|
14
|
1 ms
|
245 kb
|
OK
|
5
|
15
|
1 ms
|
245 kb
|
OK
|
5
|
16
|
1 ms
|
245 kb
|
Incorect
|
0
|
17
|
69 ms
|
249 kb
|
Incorect
|
0
|
18
|
69 ms
|
249 kb
|
Incorect
|
0
|
19
|
1 ms
|
241 kb
|
OK
|
5
|
20
|
59 ms
|
249 kb
|
OK
|
5
|
Punctaj total
|
35
|