Submission
# | When | Author | Problem | Language | CPU | Memory | |
---|---|---|---|---|---|---|---|
20822 | 2024-06-09 08:48:20 | AHAMMED_99 | Spinning Spinners | C | 1 ms | 2172 kb | Wrong Answer - 2 |
Source Code
#include <stdio.h> #include <math.h> #define PI 3.1416 int main() { int T; for (int case_no = 1; case_no <= T; case_no++) { int x, d, h, w, a; // Calculate distance to the farthest point of the rectangle // Calculate distance to the farthest point of the equilateral triangle // Determine the maximum radius double max_radius = fmax(rectangle_farthest, triangle_farthest); // Calculate the area // Print the result } return 0; }