Borderou de evaluare (job #1427206)

Utilizator hrazvanHarsan Razvan hrazvan Data 1 mai 2015 18:14:08
Problema Numar3 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:40:7: warning: array subscript has type ‘char’ [-Wchar-subscripts] fr[x]++; ^ user.c:44:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(fr[last] == 0) ^ user.c:47:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] fr[last]--; ^ user.c:20:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d ", &n); ^ user.c:32:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d ", &n); ^ user.c: In function ‘getch’: user.c:9:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(s, 1, 1 << BUFF, in); ^ user.c: In function ‘main’: user.c:37:7: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(i == p) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbOK10
20ms244kbOK10
30ms248kbOK10
44ms364kbOK10
524ms1100kbOK10
656ms1260kbOK10
7132ms1264kbOK10
8136ms1260kbOK10
9136ms1260kbOK10
10136ms1264kbOK10
Punctaj total100

Ceva nu functioneaza?