Borderou de evaluare (job #1579790)

Utilizator ioanalexandraIoan Alexandra ioanalexandra Data 25 ianuarie 2016 08:49:14
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:21:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘double*’ [-Wformat=] fscanf(f,"%d%d",&n,&gm); ^ user.cpp:21:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&gm); ^ user.cpp:22:58: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i=1;i<=n;i++) fscanf(f,"%lf%lf",&a[i].g,&a[i].c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms300kbIncorect00
20ms300kbIncorect0
30ms300kbIncorect00
40ms264kbKilled by signal 11(SIGSEGV).0
50ms264kbKilled by signal 11(SIGSEGV).0
60ms272kbKilled by signal 11(SIGSEGV).00
70ms272kbKilled by signal 11(SIGSEGV).0
80ms264kbKilled by signal 11(SIGSEGV).00
90ms264kbKilled by signal 11(SIGSEGV).0
100ms272kbKilled by signal 11(SIGSEGV).0
110ms268kbKilled by signal 11(SIGSEGV).00
120ms272kbKilled by signal 11(SIGSEGV).0
130ms272kbKilled by signal 11(SIGSEGV).0
140ms268kbKilled by signal 11(SIGSEGV).00
150ms268kbKilled by signal 11(SIGSEGV).0
160ms268kbKilled by signal 11(SIGSEGV).0
170ms264kbKilled by signal 11(SIGSEGV).00
180ms264kbKilled by signal 11(SIGSEGV).0
190ms268kbKilled by signal 11(SIGSEGV).0
200ms268kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?