Pagini recente »
Borderou de evaluare (job #773872)
|
s15_6_tema15
|
Borderou de evaluare (job #332930)
|
Borderou de evaluare (job #27559)
|
Borderou de evaluare (job #765579)
Borderou de evaluare (job #765579)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:33:34: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | while( j < n && coduri[litere[j]] != 0 )
| ~~~~~~^~~
main.c:35:18: warning: array subscript has type 'char' [-Wchar-subscripts]
35 | coduri[litere[j]] = cod;
| ~~~~~~^~~
main.c:46:31: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | nr[cf - 1] = coduri[litere[i]];
| ~~~~~~^~~
main.c:65:25: warning: array subscript has type 'char' [-Wchar-subscripts]
65 | fputc( coduri[litere[i]] + '0', fout );
| ~~~~~~^~~
main.c:19:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf( fin, "%d", &n );
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:29:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | fscanf( fin, "%d", &m );
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:32:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | fscanf( fin, "%d", &cod );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:16:31: warning: 'nrcf' may be used uninitialized [-Wmaybe-uninitialized]
16 | int n, m, i, j, cod, nrper, nrcf, t, cf;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
507 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
2 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
266 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
503 kb
|
OK
|
10
|
9
|
398 ms
|
233 kb
|
OK
|
10
|
10
|
619 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
100
|