HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums > Discussion of problems > topic:


Problem "Input Data Normalization"

There is a contest!

В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.

imesecanMar.17.2012 at 04:42:58 PM
0Сообщение скрыто

imesecanMar.17.2012 at 05:13:34 PM
1Сообщение скрыто

imesecanMar.17.2012 at 07:03:39 PM
2Please don't submit the code here.
I can see the code.

imesecanMar.17.2012 at 07:05:00 PM
3Сообщение скрыто

imesecanMar.17.2012 at 07:06:21 PM
4Сообщение скрыто

imesecanMar.17.2012 at 07:19:39 PM
5In the input files, it's guarantied that min and max are different.

imesecanMar.17.2012 at 07:29:18 PM
6
(1: devidduma)
There is no global min and max.
min and max are found for every row.

imesecanMar.17.2012 at 07:32:45 PM
7
(4: CLig)
You don't need (shouldn't use)
int wait; cin>>wait;

at the end of the solutions

imesecanMar.17.2012 at 07:36:26 PM
8I think setprecision doesn't work for this case.
When the result is 4.1768, it has be rounded to 4.177.

imesecanMar.17.2012 at 08:13:02 PM
9Сообщение скрыто

imesecanMar.17.2012 at 08:19:27 PM
10As you said you can use but, it explains there
double f =3.14159;
cout << setprecision (4) << f << endl;
cout << setprecision (9) << f << endl;

I think it also counts dot as a digit. So, In order to have three digit precision you need to use

setprecision (4)

imesecanMar.17.2012 at 08:28:09 PM
11Сообщение скрыто

imesecanMar.17.2012 at 09:08:37 PM
12Post is deleted


www.contester.ru