Pagini recente »
Borderou de evaluare (job #752325)
|
Borderou de evaluare (job #114706)
|
Borderou de evaluare (job #680292)
|
Borderou de evaluare (job #406840)
|
Borderou de evaluare (job #601779)
Borderou de evaluare (job #601779)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:20:10: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | if(v[c]==0)
| ^
main.c:22:7: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | v[c]=1;
| ^
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin, "%d", &k);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:20:10: warning: array subscript 48 is above array bounds of 'int[10]' [-Warray-bounds]
20 | if(v[c]==0)
| ~^~~
main.c:3:5: note: while referencing 'v'
3 | int v[10];
| ^
main.c:22:7: warning: array subscript 48 is above array bounds of 'int[10]' [-Warray-bounds]
22 | v[c]=1;
| ~^~~
main.c:3:5: note: while referencing 'v'
3 | int v[10];
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
OK
|
5
|
2
|
1 ms
|
131 kb
|
OK
|
5
|
3
|
1 ms
|
131 kb
|
OK
|
5
|
4
|
1 ms
|
131 kb
|
Incorect
|
0
|
5
|
1 ms
|
131 kb
|
OK
|
5
|
6
|
1 ms
|
131 kb
|
OK
|
5
|
7
|
1 ms
|
131 kb
|
OK
|
5
|
8
|
1 ms
|
131 kb
|
OK
|
5
|
9
|
1 ms
|
131 kb
|
OK
|
5
|
10
|
1 ms
|
131 kb
|
OK
|
5
|
11
|
1 ms
|
131 kb
|
Incorect
|
0
|
12
|
1 ms
|
131 kb
|
Incorect
|
0
|
13
|
1 ms
|
131 kb
|
Incorect
|
0
|
14
|
1 ms
|
131 kb
|
Incorect
|
0
|
15
|
1 ms
|
131 kb
|
Incorect
|
0
|
16
|
22 ms
|
131 kb
|
Incorect
|
0
|
17
|
19 ms
|
131 kb
|
Incorect
|
0
|
18
|
18 ms
|
131 kb
|
Incorect
|
0
|
19
|
25 ms
|
131 kb
|
Incorect
|
0
|
20
|
27 ms
|
131 kb
|
Incorect
|
0
|
Punctaj total
|
45
|