with a lot of new IITs this time , u can expect all closing ranks to come down this time.
so I think u can get in IIIT hyderabad also
there was a difference of more than 10 marks when i checked the solutions from 2 different sites. so u don't have to trust the sites so much.
try to check the solutions from different sites.
i got 206 marks.
my calculated marks were 200 and 210 .
#include<iostream.h>
void main()
{
int w,x,y,z,p;
cin>>w>>x>>y>>z;
p= w+x/y-z;
cout<<p;
}
@ pramod - you've messed up again.
I don't understand how you get m=6 and n =8
Going by your calculation , we will get
a= ( 169 n - 121m) / 2
which gives a = 313 and b= -19
You got a+b= 28 because your value of (a+b) is wrong.
(a+b) = (156n -110m)/2
Consider some rational exponent.
22.5
This is equal to 25/2 = Which we know how to calculate.
Similarly, = 21.732... = 2 1732/1000 =
This is not the exact value , but this is how it is defined
I've proved that a+b>=2 . So is'nt the job done?
u have to prove that the it is possible to achieve the value 28 for some permissible values of a and b.
Not necessary . the minimum value of a+b might be more than 28 . u may still be able to prove that a+b>=28
e.g. It can be proved that a+b >=2 ( because both a and b are positive integers.)
Does that mean that the value 2 can be achieved?
a and b have to be positive integers. if u put m=n=1 , a and b will not be positive.
The answer given by oneyeartogo( now deleted) is also not perfect. you have only proved that a+b>= 28. it has not been proved that the value 28 can be achieved. In olympiads , such things matter a lot .
the answer is..... . ok do it urself
Here is an another way of hacking passwords. make an email ID with the username something like retrive_pass@yahoo.co.in . Copy the entire post given above and replace retrive_pass_tm@yahoo.co.in with the email ID u just made. Paste it on some forums or send it as email to ur friends.
And zooooooooom!!! brainless idiots will start sending emails to that address along with their passwords.
For any type of conversions , just type it in google search in the following format:
1 lb in kg
OR
1 INR in USD
and so on..
For C++ , read The C++ Programming language by bjarne stroustroup
For algorithms , see Introduction to algorithms ( CLRS )
kranzz, check ur nudgebook.
Sumita Arora teaches the 1994 version of turbo c++ .
a lot of changes have been introduced into c++ in the last decade.
you can't study such ancient indian texts in a subject as dynamic as computer science.
try http://www.cplusplus.com/doc/tutorial/introduction.html .
by the way , you don't have to learn C++ before you reach IIT. you 'll learn it from there just like any other subject.