| 
| Идёт турнир! |  | В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания. 
 |  
 | 
| imesecan | 17.мар.2012 в 16:42:58 |  | 0 | Сообщение скрыто 
 
 |  | imesecan | 17.мар.2012 в 17:13:34 |  | 1 | Сообщение скрыто 
 
 |  | imesecan | 17.мар.2012 в 19:03:39 |  |  | 2 | Please don't submit the code here. I can see the code.
 
 
 |  | imesecan | 17.мар.2012 в 19:05:00 |  | 3 | Сообщение скрыто 
 
 |  | imesecan | 17.мар.2012 в 19:06:21 |  | 4 | Сообщение скрыто 
 
 |  | imesecan | 17.мар.2012 в 19:19:39 |  |  | 5 | In the input files, it's guarantied that min and max are different. 
 
 |  | imesecan | 17.мар.2012 в 19:29:18 |  |  | 6 | There is no global min and max. min and max  are found for every row.
 
 
 |  | imesecan | 17.мар.2012 в 19:32:45 |  |  | 7 | You don't need (shouldn't use) int wait; cin>>wait;
 
 at the end of the solutions
 
 
 |  | imesecan | 17.мар.2012 в 19:36:26 |  |  | 8 | I think setprecision doesn't work for this case. When the result is 4.1768, it has be rounded to 4.177.
 
 
 |  | imesecan | 17.мар.2012 в 20:13:02 |  | 9 | Сообщение скрыто 
 
 |  | imesecan | 17.мар.2012 в 20:19:27 |  |  | 10 | As 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)
 
 
 |  | imesecan | 17.мар.2012 в 20:28:09 |  | 11 | Сообщение скрыто 
 
 |  | imesecan | 17.мар.2012 в 21:08:37 |  |  | 12 | Реплика удалена 
 
 |  
 |