Duathlon

题目描述

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=15&page=show_problem&problem=1326 [PDF](https://uva.onlinejudge.org/external/103/p10385.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10385/945f9e56a0937fda8776dab247e1ddf0a30143a8.png)

输入输出格式

输入格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10385/8608111801d57b83b5e8d0bc4afb09d09224171f.png)

输出格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10385/e62cac0caf13a720d5cb52a53fd1a0ac7809bb47.png)

输入输出样例

输入样例 #1

100
3
10.0 40.0
20.0 30.0
15.0 35.0
100
3
10.0 40.0
20.0 30.0
15.0 25.0

输出样例 #1

The cheater can win by 612 seconds with r = 14.29km and k = 85.71km.
The cheater cannot win.