Borderou de evaluare (job #1908029)

Utilizator mihai.alphamihai craciun mihai.alpha Data 6 martie 2017 22:19:13
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:7: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
116ms12936kbOK10
212ms9344kbIncorect0
328ms13124kbIncorect0
40ms1260kbOK10
5108msDepăşitMemory limit exceeded.0
6108msDepăşitMemory limit exceeded.0
7108msDepăşitMemory limit exceeded.0
8108msDepăşitMemory limit exceeded.0
9108msDepăşitMemory limit exceeded.0
100ms388kbKilled by signal 6(SIGABRT).0
Punctaj total20

Ceva nu functioneaza?