Borderou de evaluare (job #1750635)

Utilizator craciuCraciun Alex craciu Data 30 august 2016 16:56:56
Problema Fractii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int solve(int)’: user.cpp:12:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:26:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] } else if(p==2&&q%2==0||q==2&&p%2==0||p==q||p==3&&q%3==0||q==3&&p%3==0){ ^ user.cpp:26:61: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] } else if(p==2&&q%2==0||q==2&&p%2==0||p==q||p==3&&q%3==0||q==3&&p%3==0){ ^ user.cpp:26:75: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] } else if(p==2&&q%2==0||q==2&&p%2==0||p==q||p==3&&q%3==0||q==3&&p%3==0){ ^ user.cpp:30:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(p%d==0&&q%d==0||p%q==0||q%p==0) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit376kbTime limit exceeded.0
2Depăşit380kbTime limit exceeded.0
3Depăşit376kbTime limit exceeded.0
4Depăşit380kbTime limit exceeded.0
5Depăşit384kbTime limit exceeded.0
6Depăşit380kbTime limit exceeded.0
7Depăşit380kbTime limit exceeded.0
8Depăşit380kbTime limit exceeded.0
9Depăşit376kbTime limit exceeded.0
10Depăşit384kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?