Borderou de evaluare (job #1891406)

Utilizator preda.andreiPreda Andrei preda.andrei Data 23 februarie 2017 23:31:46
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:50:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=] fscanf(fin, "%d%d", &duration[i], &heads[i]); ^ user.c:50:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘char *’ [-Wformat=] user.c:73:2: warning: array subscript has type ‘char’ [-Wchar-subscripts] dur_tot[0][heads[0]] = duration[0]; ^ user.c:47:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &n, &p, &k); ^ user.c:50:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &duration[i], &heads[i]); ^ user.c:57:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms256kbOK10
392ms712kbOK10
4Depăşit688kbTime limit exceeded.0
58ms580kbOK10
60ms328kbOK10
776ms376kbOK10
80ms276kbOK10
9Depăşit564kbTime limit exceeded.0
10Depăşit656kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?