Jun 9, 2018 at 2:08pm UTC
@codexhammer, why you got continue in an if else statement? else will not run after if anyways.
Jun 9, 2018 at 2:16pm UTC
@MonkeyD
show me your coefficients along with output here otherwise you can PM me, okay
Jun 9, 2018 at 2:54pm UTC
.
Last edited on Jun 10, 2018 at 4:25am UTC
Jun 9, 2018 at 2:56pm UTC
@ffloyd you can see your PMs
Last edited on Jun 9, 2018 at 3:25pm UTC
Jun 9, 2018 at 3:11pm UTC
@MonkeyD
ohkay i got ,BTW you have cool variable name lol ;)
Jun 9, 2018 at 3:19pm UTC
Can anyone join this thread to help me out ?
http://www.cplusplus.com/forum/beginner/238075/
Jun 9, 2018 at 3:21pm UTC
@ffloyd please check your Inbox once again.
Jun 9, 2018 at 3:39pm UTC
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 UTC
Jun 9, 2018 at 3:41pm UTC
@MonkeyD have you solved the problem successfully?
Jun 9, 2018 at 4:13pm UTC
@shadow98 No I took the input normally. I didn't do anything different for the second subtask.
Jun 9, 2018 at 5:19pm UTC
hey guys anyone who has done the solution for Vision problem.
please share the code guys.
Jun 9, 2018 at 6:17pm UTC
@keve if you can give me code for sheokand i can give this one to you
Jun 9, 2018 at 6:30pm UTC
@texasgirl switch on your private message i will give it to you..!
Jun 9, 2018 at 6:32pm UTC
@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 UTC
@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 UTC
@texasgirl
please enable your private messages
i will give you the code on that
is it OK.
Jun 9, 2018 at 7:01pm UTC
@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 UTC
@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 UTC
@texasgirl
see your PM and i have send
now please give me the code for Vision.