Borderou de evaluare (job #2007841)

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

Raport evaluator

Compilare: user.cpp: In function ‘void imparte(int)’: user.cpp:372:25: warning: unused variable ‘mx’ [-Wunused-variable] int i, ones, zeros, mx; ^ user.cpp:373:10: warning: unused variable ‘cost’ [-Wunused-variable] lint cost; ^ user.cpp: In function ‘void dynamics2()’: user.cpp:397:9: warning: unused variable ‘j’ [-Wunused-variable] int j; ^ user.cpp: In function ‘void readFile()’: user.cpp:78: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:83: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:90: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
10ms384kbCool!10
20ms364kbCool!10
30ms448kbCool!10
416ms976kbKilled by signal 6(SIGABRT).0
532ms2336kbKilled by signal 6(SIGABRT).0
6100ms4096kbKilled by signal 6(SIGABRT).0
7192ms7772kbKilled by signal 6(SIGABRT).0
8240ms7772kbKilled by signal 6(SIGABRT).0
9472ms14320kbKilled by signal 6(SIGABRT).0
10496ms15544kbKilled by signal 6(SIGABRT).0
Punctaj total30

Ceva nu functioneaza?