Borderou de evaluare (job #1675275)

Utilizator Coroian_DavidCoroian David Coroian_David Data 5 aprilie 2016 11:05:23
Problema Inundatie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:13: warning: unused variable ‘c’ [-Wunused-variable] int c = 0; ^ user.cpp:13:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &n, &m); ^ user.cpp:15:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &v[i]);//, ap[nr - 1]++; ^ user.cpp:22:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &q); ^ user.cpp:25:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbOK10
20ms388kbKilled by signal 11(SIGSEGV).0
30ms392kbKilled by signal 11(SIGSEGV).0
40ms392kbKilled by signal 11(SIGSEGV).0
50ms392kbKilled by signal 11(SIGSEGV).0
60ms400kbKilled by signal 11(SIGSEGV).0
70ms388kbKilled by signal 11(SIGSEGV).0
80ms400kbKilled by signal 11(SIGSEGV).0
90ms388kbKilled by signal 11(SIGSEGV).0
100ms436kbOK10
Punctaj total20

Ceva nu functioneaza?