#include <stdio.h>
#include <math.h>
void test(float a, float b, float c) {
int n = round((c-a) / (b-a));
for (int i=0; i<=n; i++) {
printf("%g ", i*(b-a)+a);
}
printf("\n");
}
void test(float a, float c) {
test(a, a+1, c);
}
int main() {
test(26.0, 26.2, 27.0);
test(25.5, 30.0);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+Cgp2b2lkIHRlc3QoZmxvYXQgYSwgZmxvYXQgYiwgZmxvYXQgYykgewogICAgaW50IG4gPSByb3VuZCgoYy1hKSAvIChiLWEpKTsKICAgIGZvciAoaW50IGk9MDsgaTw9bjsgaSsrKSB7CiAgICAgICAgcHJpbnRmKCIlZyAiLCBpKihiLWEpK2EpOwogICAgfQogICAgcHJpbnRmKCJcbiIpOwp9Cgp2b2lkIHRlc3QoZmxvYXQgYSwgZmxvYXQgYykgewogICAgdGVzdChhLCBhKzEsIGMpOwp9CgppbnQgbWFpbigpIHsKICAgIHRlc3QoMjYuMCwgMjYuMiwgMjcuMCk7CiAgICB0ZXN0KDI1LjUsIDMwLjApOwogICAgcmV0dXJuIDA7Cn0=