Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Sep 20, 2024
1 parent 5931dd4 commit a8898e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions solutions/beecrowd/1124/1124.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a8898e7

Please sign in to comment.