Borderou de evaluare (job #1493633)

Utilizator cella.florescuCella Florescu cella.florescu Data 29 septembrie 2015 18:47:26
Problema Secventa Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘getnr’: user.c:19:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(aux[s[p]]==0) ^ user.c:25:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(aux[s[p]]){ ^ user.c: In function ‘main’: user.c:42:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &k); ^ user.c: In function ‘avans’: user.c:12:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(s, 1, LIM, fin); ^ user.c: In function ‘main’: user.c:59:12: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] fprintf(fout, "%d %d %d\n", pos+1, pos+k, max); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOK10
20ms436kbOK10
34ms928kbOK10
44ms1020kbOK10
54ms1264kbOK10
68ms1464kbOK10
712ms2244kbOK10
816ms3224kbOK10
924ms4208kbOK10
1032ms5176kbOK10
Punctaj total100

Ceva nu functioneaza?