problem with implementing this question of codechef

Pages: 1... 56789... 13
Jun 9, 2018 at 2:08pm
closed account (DGLCfSEw)
@codexhammer, why you got continue in an if else statement? else will not run after if anyways.
Jun 9, 2018 at 2:16pm
@MonkeyD
show me your coefficients along with output here otherwise you can PM me, okay
Jun 9, 2018 at 2:54pm
.
Last edited on Jun 10, 2018 at 4:25am
Jun 9, 2018 at 2:56pm
closed account (DGLCfSEw)
@ffloyd you can see your PMs
Last edited on Jun 9, 2018 at 3:25pm
Jun 9, 2018 at 3:11pm
@MonkeyD

ohkay i got ,BTW you have cool variable name lol ;)
Jun 9, 2018 at 3:19pm
Can anyone join this thread to help me out ?

http://www.cplusplus.com/forum/beginner/238075/
Jun 9, 2018 at 3:21pm
closed account (DGLCfSEw)
@ffloyd please check your Inbox once again.
Jun 9, 2018 at 3:39pm
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 Jun 9, 2018 at 3:40pm
Jun 9, 2018 at 3:41pm
@MonkeyD have you solved the problem successfully?
Jun 9, 2018 at 4:13pm
@shadow98 No I took the input normally. I didn't do anything different for the second subtask.
Jun 9, 2018 at 5:19pm
hey guys anyone who has done the solution for Vision problem.

please share the code guys.
Jun 9, 2018 at 6:17pm
closed account (43hf216C)
@keve if you can give me code for sheokand i can give this one to you
Jun 9, 2018 at 6:30pm
@texasgirl switch on your private message i will give it to you..!
Jun 9, 2018 at 6:32pm
@texasgirl i will give it to you the code of sheokand
tell me how to give the code to you
Jun 9, 2018 at 6:34pm
@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
Jun 9, 2018 at 6:40pm
@texasgirl
please enable your private messages
i will give you the code on that
is it OK.
Jun 9, 2018 at 6:58pm
closed account (43hf216C)
yes pm me
Jun 9, 2018 at 7:01pm
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);
????
Jun 9, 2018 at 7:07pm
@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 ;)

Jun 9, 2018 at 7:10pm
@texasgirl
see your PM and i have send

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