Borderou de evaluare (job #1875281)

Utilizator nartorrewrew narto Data 10 februarie 2017 22:12:29
Problema Catun Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void alg()’: user.cpp:82:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p = V(i)) ^ user.cpp:94:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(rez[c] == -1 || flag[c] && rez[c] > f) rez[c]=f,flag[c]=1; ^ user.cpp:8:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define V(i) vec[(i)%1001] ^ user.cpp:102:24: note: in expansion of macro ‘V’ } while(p = V(i)); ^ user.cpp: In function ‘void intro()’: user.cpp:31: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:45: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:52: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
10ms336kbKilled by signal 11(SIGSEGV).0
20ms340kbKilled by signal 11(SIGSEGV).0
30ms340kbKilled by signal 11(SIGSEGV).0
40ms340kbKilled by signal 11(SIGSEGV).0
50ms344kbKilled by signal 11(SIGSEGV).0
60ms336kbKilled by signal 11(SIGSEGV).0
70ms336kbKilled by signal 11(SIGSEGV).0
80ms344kbKilled by signal 11(SIGSEGV).0
90ms340kbKilled by signal 11(SIGSEGV).0
100ms344kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?