Borderou de evaluare (job #1875285)

Utilizator nartorrewrew narto Data 10 februarie 2017 22:15:19
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: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
168ms51344kbOK10
248ms36776kbIncorect0
376ms51508kbIncorect0
44ms4648kbOK10
54ms644kbKilled by signal 6(SIGABRT).0
64ms640kbKilled by signal 6(SIGABRT).0
74ms644kbKilled by signal 6(SIGABRT).0
84ms652kbKilled by signal 6(SIGABRT).0
94ms644kbKilled by signal 6(SIGABRT).0
104ms648kbKilled by signal 6(SIGABRT).0
Punctaj total20

Ceva nu functioneaza?