Borderou de evaluare (job #2007843)

Utilizator Coroian_DavidCoroian David Coroian_David Data 4 august 2017 11:42:14
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void imparte(int)’: user.cpp:90:25: warning: unused variable ‘mx’ [-Wunused-variable] int i, ones, zeros, mx; ^ user.cpp:91:10: warning: unused variable ‘cost’ [-Wunused-variable] lint cost; ^ user.cpp: In function ‘void dynamics()’: user.cpp:115:9: warning: unused variable ‘j’ [-Wunused-variable] int j; ^ user.cpp: In function ‘void readFile()’: user.cpp:58:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d\n", &n, &l); ^ user.cpp:63:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, 1009, f); ^ user.cpp:70:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%lld", &costBit[i]);//, printf("%lld ", costBit[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbCool!10
20ms296kbCool!10
30ms312kbCool!10
48ms336kbCool!10
512ms360kbCool!10
648ms400kbCool!10
788ms472kbCool!10
8132ms476kbCool!10
9256ms608kbCool!10
10268ms608kbCool!10
Punctaj total100

Ceva nu functioneaza?