Borderou de evaluare (job #1535784)

Utilizator hrazvanHarsan Razvan hrazvan Data 25 noiembrie 2015 10:30:02
Problema Perb Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘precalc’: user.c:16:9: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset(nr[j], 0, sizeof nr[j]); ^ user.c:16:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] user.c:17:7: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(max, 0, sizeof max); ^ user.c:24:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr[poz[s[j]]][p]++; ^ user.c:25:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(nr[poz[s[j]]][p] > max[p]){ ^ user.c:10:16: warning: unused variable ‘l’ [-Wunused-variable] int i, j, k, l, p, sum, cdr, cn = n / 2, cdr2; ^ user.c: In function ‘main’: user.c:39:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d ", &n, &m); ^ user.c:40:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, n + 2, in); ^ user.c:47:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms316kbOK10
20ms368kbOK10
312ms536kbOK10
436ms416kbOK10
5116ms368kbOK10
6160ms764kbOK10
7356ms996kbOK10
8460ms1236kbOK10
9700ms1468kbOK10
10940ms1696kbOK10
Punctaj total100

Ceva nu functioneaza?