Borderou de evaluare (job #1535781)

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

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:23:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr[poz[s[j]]][p]++; ^ user.c:24: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; ^ user.c: In function ‘main’: user.c:37:25: warning: unused variable ‘aux’ [-Wunused-variable] int n, m, i, j, x, y, aux; ^ user.c:38:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d ", &n, &m); ^ user.c:39:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, n + 2, in); ^ user.c:46: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
10ms312kbOK10
20ms372kbOK10
312ms536kbOK10
436ms408kbOK10
5116ms368kbOK10
6176ms764kbOK10
7400ms1004kbOK10
8556ms1236kbOK10
9872ms1468kbOK10
10Depăşit1700kbTime limit exceeded.0
Punctaj total90

Ceva nu functioneaza?