Borderou de evaluare (job #1097688)

Utilizator ionut98Bejenariu Ionut Daniel ionut98 Data 3 februarie 2014 20:26:48
Problema Cri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 36

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(li==2&&ci%2==1 or ci==2&&li%2==1 or li==ci&&li!=2 or li%2!=ci%2) ^ user.cpp:12:54: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(li==2&&ci%2==1 or ci==2&&li%2==1 or li==ci&&li!=2 or li%2!=ci%2) ^ user.cpp:33:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(li==2&&(m-ci+1)%2==1 or m-ci+1==2&&li%2==1 or li==(m-ci+1)&&li!=2 or li%2!=(m-ci+1)%2) ^ user.cpp:33:70: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(li==2&&(m-ci+1)%2==1 or m-ci+1==2&&li%2==1 or li==(m-ci+1)&&li!=2 or li%2!=(m-ci+1)%2) ^ user.cpp:70:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(n-li+1==2&&ci%2==1 or ci==2&&(n-li+1)%2==1 or n-li+1==ci&&(n-li+1)!=2 or (n-li+1)%2!=ci%2 or ci%2==(n-li+1)%2) ^ user.cpp:70:64: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(n-li+1==2&&ci%2==1 or ci==2&&(n-li+1)%2==1 or n-li+1==ci&&(n-li+1)!=2 or (n-li+1)%2!=ci%2 or ci%2==(n-li+1)%2) ^ user.cpp:107:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(n-li+1==2&&(m-ci+1)%2==1 or (m-ci+1)==2&&(n-li+1)%2==1 or n-li+1==m-ci+1&&(n-li+1)!=2 or (n-li+1)%2!=(m-ci+1)%2 or (m-ci+1)%2==(n-li+1)%2&&m-ci+1!=2&&n-li+1!=2) ^ user.cpp:107:80: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(n-li+1==2&&(m-ci+1)%2==1 or (m-ci+1)==2&&(n-li+1)%2==1 or n-li+1==m-ci+1&&(n-li+1)!=2 or (n-li+1)%2!=(m-ci+1)%2 or (m-ci+1)%2==(n-li+1)%2&&m-ci+1!=2&&n-li+1!=2) ^ user.cpp:107:156: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(n-li+1==2&&(m-ci+1)%2==1 or (m-ci+1)==2&&(n-li+1)%2==1 or n-li+1==m-ci+1&&(n-li+1)!=2 or (n-li+1)%2!=(m-ci+1)%2 or (m-ci+1)%2==(n-li+1)%2&&m-ci+1!=2&&n-li+1!=2) ^ user.cpp:18:30: warning: array subscript is above array bounds [-Warray-bounds] zone[1][2]++; ^ user.cpp:18:30: warning: array subscript is above array bounds [-Warray-bounds] user.cpp:25:22: warning: array subscript is above array bounds [-Warray-bounds] zone[1][2]=3; ^ user.cpp:39:30: warning: array subscript is above array bounds [-Warray-bounds] zone[2][2]++; ^ user.cpp:39:30: warning: array subscript is above array bounds [-Warray-bounds] user.cpp:46:22: warning: array subscript is above array bounds [-Warray-bounds] zone[2][2]=3; ^ user.cpp:66:22: warning: array subscript is above array bounds [-Warray-bounds] zone[2][2]=(n-li+1)*(m-ci+1)-1; ^ user.cpp:76:30: warning: array subscript is above array bounds [-Warray-bounds] zone[3][2]++; ^ user.cpp:76:30: warning: array subscript is above array bounds [-Warray-bounds] user.cpp:83:22: warning: array subscript is above array bounds [-Warray-bounds]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbUltimele doua numere gresite1
24ms576kbUltimele doua numere gresite1
316ms832kbOK5
420ms964kbOK5
556ms1356kbUltimele doua numere gresite1
60ms392kbUltimele doua numere gresite1
70ms396kbUltimele doua numere gresite1
860ms1356kbOK5
90ms416kbUltimele doua numere gresite1
1056ms1352kbUltimele doua numere gresite1
110ms416kbRaspuns gresit0
120ms436kbRaspuns gresit0
130ms420kbOK5
144ms572kbUltimele doua numere gresite1
1520ms968kbOK5
160ms436kbRaspuns gresit0
1716ms832kbUltimele doua numere gresite1
180ms388kbRaspuns gresit0
1956ms1356kbUltimele doua numere gresite1
200ms384kbUltimele doua numere gresite1
Punctaj total36

Ceva nu functioneaza?