Borderou de evaluare (job #1646721)

Utilizator Emil64Emil Centiu Emil64 Data 10 martie 2016 17:23:29
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:90:55: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses] if(c.l<n && (m[c.l+1][c.c]==0 || m[c.l][c.c]+1<m[c.l+1][c.c]==0)){ ^ user.cpp:97:55: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses] if(c.l>1 && (m[c.l-1][c.c]==0 || m[c.l][c.c]+1<m[c.l-1][c.c]==0)){ ^ user.cpp:104:55: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses] if(c.c<n && (m[c.l][c.c+1]==0 || m[c.l][c.c]+1<m[c.l][c.c+1]==0)){ ^ user.cpp:111:55: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses] if(c.c>1 && (m[c.l][c.c-1]==0 || m[c.l][c.c]+1<m[c.l][c.c-1]==0)){ ^ user.cpp:76:19: warning: unused variable ‘j’ [-Wunused-variable] int n, np, i, j, l, _c; ^ user.cpp:75:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff,1,20000,stdin); ^ user.cpp: In function ‘void read(int&)’: user.cpp:17:103: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] while(buff[pos] < '0' || buff[pos] > '9') if(++pos == 20000) fread(buff, 1, 20000, stdin), pos = 0; ^ user.cpp:19:137: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] while('0' <= buff[pos] && buff[pos] <= '9') {nr = nr * 10 + buff[pos] - '0';if(++pos == 20000) fread(buff, 1, 20000, stdin), pos = 0;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbIncorect0
20ms252kbIncorect0
30ms268kbIncorect0
40ms272kbIncorect0
50ms300kbIncorect0
60ms332kbIncorect0
70ms384kbIncorect0
80ms372kbIncorect0
90ms332kbIncorect0
100ms300kbIncorect0
Punctaj total0

Ceva nu functioneaza?