End of Exams
93B1900· candidate master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
2 500 3
Output
YES1 333.3333332 333.3333332 166.666667 1 166.666667
Sample 2of 4
Input
4 100 5
Output
YES3 20.000000 4 60.0000001 80.0000004 40.000000 2 40.0000003 80.0000002 60.000000 1 20.000000
Sample 3of 4
Input
4 100 7
Output
NO
Sample 4of 4
Input
5 500 2
Output
YES4 250.000000 5 500.000000 2 500.0000003 500.000000 1 500.000000 4 250.000000
58%
93B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)