cf/mirror

Accuracy-Preserving Summation Algorithm

CF
1953A10s1024 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
2 -4.815473e+04 -1.862622e+04
Output
{d:1,2}
Sample 2of 2
Input
3 -4.815473e+01 1.862622e+02 2.997603e+02
Output
{d:1,2,3}
1953A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)