Borderou de evaluare (job #1236392)

Utilizator bogdanpaunFMI Paun Bogdan Gabriel bogdanpaun Data 1 octombrie 2014 21:42:02
Problema Catun Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void alg()’: user.cpp:86:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p = V(i)) ^ user.cpp:98:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(rez[c] == -1 || flag[c] && rez[c] > f) rez[c]=f,flag[c]=1; ^ user.cpp:11:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define V(i) vec[(i)%1001] ^ user.cpp:106:24: note: in expansion of macro ‘V’ } while(p = V(i)); ^ user.cpp: In function ‘void intro()’: user.cpp:35:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d", &n, &m, &k); ^ user.cpp:49:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&a); ^ user.cpp:56:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d %d", &a, &b, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms388kbOK10
20ms412kbIncorect0
312ms572kbIncorect0
40ms276kbOK10
54ms6032kbKilled by signal 11(SIGSEGV).0
68ms7312kbKilled by signal 11(SIGSEGV).0
78ms5744kbKilled by signal 11(SIGSEGV).0
88ms6036kbKilled by signal 11(SIGSEGV).0
912ms11820kbKilled by signal 11(SIGSEGV).0
1024ms21452kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?