Example Input 2 10 10 Output 40.00000000
- User
Example Input
2 10 10
Output
40.00000000
Assistant
t = int(input()) for _ in range(t): a, b = map(float, input().split()) perimeter = 2 * (a + b) print("{0:.8f}".format(perimeter))
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.