Borderou de evaluare (job #1239821)

Utilizator alex_bucevschiBucevschi Alexandru alex_bucevschi Data 9 octombrie 2014 20:45:56
Problema Cuplaj maxim de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool bellman()’: user.cpp:5:20: warning: integer overflow in expression [-Woverflow] #define oo (1<<31)-1 ^ user.cpp:16:14: note: in expansion of macro ‘oo’ D[i]=oo; ^ user.cpp:5:20: warning: integer overflow in expression [-Woverflow] #define oo (1<<31)-1 ^ user.cpp:38:14: note: in expansion of macro ‘oo’ if(D[d]==oo)return 0; ^ user.cpp: In function ‘int main()’: user.cpp:51:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmcm.in","r",stdin); ^ user.cpp:52:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmcm.out","w",stdout); ^ user.cpp:53:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&m,&e); ^ user.cpp:58:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&x,&y,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbNumar incorect de muchii0
20ms436kbNumar incorect de muchii0
38ms1892kbNumar incorect de muchii0
48ms1788kbNumar incorect de muchii0
58ms1808kbNumar incorect de muchii0
6180ms4200kbSuma costurilor nu este buna0
7180ms4660kbSuma costurilor nu este buna0
8360ms5684kbNumar incorect de muchii0
9364ms5684kbSuma costurilor nu este buna0
10364ms5684kbNumar incorect de muchii0
Punctaj total0

Ceva nu functioneaza?