Borderou de evaluare (job #2664762)

Utilizator dragonking3499Toplicianu Iustin dragonking3499 Data 29 octombrie 2020 12:10:29
Problema Fractii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int fireduct(int, int, int)': main.cpp:7:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] {if(a<b) ^ main.cpp:12:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(b<a) ^~ main.cpp:16:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' k++;} ^ main.cpp:12:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(b<a) ^ main.cpp: In function 'int fireduct2(int, int, int)': main.cpp:24:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(a%k==0 && b%k==0|| ok==0) ~~~~~~~^~~~~~~~~ main.cpp:23:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] {if(a<b) ^ main.cpp: In function 'int fireduct3(int, int, int)': main.cpp:40:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(a%k==0 && b%k==0|| ok==0) ~~~~~~~^~~~~~~~~ main.cpp:39:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] {if(b<a) ^ main.cpp: In function 'int main()': main.cpp:62:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if( fireduct(num1,num2,n)==1 || (num1==1 ||num2==1) && (fireduct3(num1,num2,n)==0 || fireduct2(num1,num2,n)==0 )) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1452ms131kbTime limit exceeded0
2453ms131kbTime limit exceeded0
3451ms131kbTime limit exceeded0
4452ms131kbTime limit exceeded0
5452ms131kbTime limit exceeded0
6453ms131kbTime limit exceeded0
7451ms131kbTime limit exceeded0
8451ms131kbTime limit exceeded0
9451ms131kbTime limit exceeded0
10452ms131kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?