Borderou de evaluare (job #1165700)

Utilizator AlexieDariciuc Alexie Alexie Data 2 aprilie 2014 20:55:27
Problema Fractii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void BK(int)’: user.cpp:21:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(valid(k)) ^ user.cpp: In function ‘int valid(int)’: user.cpp:32:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(V[i]==V[k] || V[k]%2==0 && V[i]%2==0 || V[k]%3==0 && V[i]%3==0 || V[k]%5==0 && V[i]%5==0|| V[k]%7==0 && V[i]%7==0) ^ user.cpp:32:56: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(V[i]==V[k] || V[k]%2==0 && V[i]%2==0 || V[k]%3==0 && V[i]%3==0 || V[k]%5==0 && V[i]%5==0|| V[k]%7==0 && V[i]%7==0) ^ user.cpp:32:82: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(V[i]==V[k] || V[k]%2==0 && V[i]%2==0 || V[k]%3==0 && V[i]%3==0 || V[k]%5==0 && V[i]%5==0|| V[k]%7==0 && V[i]%7==0) ^ user.cpp:32:107: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(V[i]==V[k] || V[k]%2==0 && V[i]%2==0 || V[k]%3==0 && V[i]%3==0 || V[k]%5==0 && V[i]%5==0|| V[k]%7==0 && V[i]%7==0) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit364kbTime limit exceeded.0
212ms396kbRaspuns gresit0
3Depăşit364kbTime limit exceeded.0
4Depăşit364kbTime limit exceeded.0
5Depăşit360kbTime limit exceeded.0
6Depăşit368kbTime limit exceeded.0
7Depăşit364kbTime limit exceeded.0
8Depăşit364kbTime limit exceeded.0
9Depăşit364kbTime limit exceeded.0
10Depăşit360kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?