Borderou de evaluare (job #765574)

Utilizator avatar maria.bertolon Nerdvana 7 Maria Bertolon maria.bertolon IP ascuns
Problemă Litere (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 29 feb. 2024 17:53:39 Scor 66

Raport evaluator

Compilare: main.c: In function 'main': main.c:32:34: warning: array subscript has type 'char' [-Wchar-subscripts] 32 | while( j < n && coduri[litere[j]] != 0 ) | ~~~~~~^~~ main.c:34:18: warning: array subscript has type 'char' [-Wchar-subscripts] 34 | coduri[litere[j]] = cod; | ~~~~~~^~~ main.c:47:28: warning: array subscript has type 'char' [-Wchar-subscripts] 47 | t = t + coduri[litere[j]] + s[j]; | ~~~~~~^~~ main.c:63:25: warning: array subscript has type 'char' [-Wchar-subscripts] 63 | fputc( coduri[litere[i]] + '0', fout ); | ~~~~~~^~~ main.c:18:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf( fin, "%d", &n ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:28:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf( fin, "%d", &m ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:31:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | fscanf( fin, "%d", &cod ); | ^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb 1. OK; 2. OK; 3. incorect 6
2 1 ms 245 kb OK 10
3 1 ms 245 kb 1. OK; 2. OK; 3. incorect 6
4 3 ms 245 kb OK 10
5 1 ms 245 kb 1. OK; 2. OK; 3. incorect 6
6 2 ms 245 kb 1. OK; 2. OK; 3. incorect 6
7 1 ms 245 kb 1. OK; 2. OK; 3. incorect 6
8 1 ms 245 kb OK 10
9 685 ms 512 kb 1. OK; 2. OK; 3. incorect 6
10 1008 ms 245 kb Time limit exceeded 0
Punctaj total 66