Pagini recente » Borderou de evaluare (job #755163) | Borderou de evaluare (job #2563476) | Borderou de evaluare (job #1642805) | Borderou de evaluare (job #2470642) | Borderou de evaluare (job #2664762)
Borderou de evaluare (job #2664762)
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 |
1 | 452ms | 131kb | Time limit exceeded | 0 |
2 | 453ms | 131kb | Time limit exceeded | 0 |
3 | 451ms | 131kb | Time limit exceeded | 0 |
4 | 452ms | 131kb | Time limit exceeded | 0 |
5 | 452ms | 131kb | Time limit exceeded | 0 |
6 | 453ms | 131kb | Time limit exceeded | 0 |
7 | 451ms | 131kb | Time limit exceeded | 0 |
8 | 451ms | 131kb | Time limit exceeded | 0 |
9 | 451ms | 131kb | Time limit exceeded | 0 |
10 | 452ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 0 |