Pagini recente »
Borderou de evaluare (job #314681)
|
Borderou de evaluare (job #101200)
|
Borderou de evaluare (job #360578)
|
Borderou de evaluare (job #254177)
|
Borderou de evaluare (job #741993)
Borderou de evaluare (job #741993)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:16:10: warning: array subscript has type 'char' [-Wchar-subscripts]
16 | C[D]++;
| ^
main.c:6:21: warning: unused variable 't' [-Wunused-variable]
6 | int i,j,N,L,m,c,t;
| ^
main.c:6:19: warning: unused variable 'c' [-Wunused-variable]
6 | int i,j,N,L,m,c,t;
| ^
main.c:6:17: warning: unused variable 'm' [-Wunused-variable]
6 | int i,j,N,L,m,c,t;
| ^
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(in,"%d%d",&N,&L);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:12:9: warning: 'i' is used uninitialized [-Wuninitialized]
12 | C[i]=fgetc(in);
| ~~~~^~~~~~~~~~
main.c:6:9: note: 'i' was declared here
6 | int i,j,N,L,m,c,t;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
241 kb
|
OK
|
10
|
3
|
9 ms
|
217 kb
|
OK
|
10
|
4
|
9 ms
|
217 kb
|
OK
|
10
|
5
|
9 ms
|
217 kb
|
OK
|
10
|
6
|
19 ms
|
180 kb
|
OK
|
10
|
7
|
19 ms
|
176 kb
|
OK
|
10
|
8
|
19 ms
|
176 kb
|
OK
|
10
|
9
|
19 ms
|
180 kb
|
OK
|
10
|
10
|
19 ms
|
180 kb
|
OK
|
10
|
Punctaj total
|
100
|