problem with implementing this question of codechef

Pages: 1... 56789... 13
closed account (DGLCfSEw)
@codexhammer, why you got continue in an if else statement? else will not run after if anyways.
@MonkeyD
show me your coefficients along with output here otherwise you can PM me, okay
.
Last edited on
closed account (DGLCfSEw)
@ffloyd you can see your PMs
Last edited on
@MonkeyD

ohkay i got ,BTW you have cool variable name lol ;)
Can anyone join this thread to help me out ?

http://www.cplusplus.com/forum/beginner/238075/
closed account (DGLCfSEw)
@ffloyd please check your Inbox once again.
Codechef authority here..tadaa... :D
jokes apart..!!

meanwhile for all who are worried about plagiarism..
well, the MOSS technique works in many ways. its hard to say what sort of technique codechef uses for their system.

potential solution:
irrespective of origin coding language, implement same code in different language. (which ultimately generate different intermediate level code.) and thus we can be safe from plagiarism detection system.

telling it from my previous experiences on same platform :P
Last edited on
@MonkeyD have you solved the problem successfully?
@shadow98 No I took the input normally. I didn't do anything different for the second subtask.
hey guys anyone who has done the solution for Vision problem.

please share the code guys.
closed account (43hf216C)
@keve if you can give me code for sheokand i can give this one to you
@texasgirl switch on your private message i will give it to you..!
@texasgirl i will give it to you the code of sheokand
tell me how to give the code to you
@MonkeyD
double time1= -y/(2*x);

double time2= ( sqrt(y*y-4*x*z) )/(2*x);
limitation in PM
i think you can figure it out be conscious of plag
@texasgirl
please enable your private messages
i will give you the code on that
is it OK.
closed account (43hf216C)
yes pm me
closed account (4iEqDjzh)
@ffloyd

I don't get it, you mean to change
T1=(-B+sqrt(B*B-4*A*C))/(2*A);
T2=(-B-sqrt(B*B-4*A*C))/(2*A);
to

double time1= -y/(2*x);

double time2= ( sqrt(y*y-4*x*z) )/(2*x);
????
@dMonkey
i just split the time in two parts
here A=x,B=y,C=z
now you can calculate
T1 and T2 according to you
by time1+time2 and time1-time2 respectively
cann't PM you , i cross the limit ;)

@texasgirl
see your PM and i have send

now please give me the code for Vision.
Pages: 1... 56789... 13