diff --git a/solutions/beecrowd/1124/1124.c b/solutions/beecrowd/1124/1124.c index 1606cd15..769c0be8 100644 --- a/solutions/beecrowd/1124/1124.c +++ b/solutions/beecrowd/1124/1124.c @@ -6,8 +6,10 @@ int main() { int32_t width, length, r1, r2, x_r1, x_r2, y_r1, y_r2, distance_betweeen_circle_centers; - while (scanf("%d %d %d %d", &width, &length, &r1, &r2) && width && length && r1 && r2) { - if (width < r1 * 2 || width < r2 * 2 || length < r1 * 2 || length < r2 * 2) { + while (scanf("%d %d %d %d", &width, &length, &r1, &r2) && width && length + && r1 && r2) { + if (width < r1 * 2 || width < r2 * 2 || length < r1 * 2 + || length < r2 * 2) { puts("N"); continue; }