传统题 1000ms 256MiB

[2023 OUCC Round 1] Solar Panels

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

A company requires a program that calculates the number of solar panels it manufactures that can be installed on a rectangular area of roof.

Task:

Write a program that takes, as input, the width and depth of the rectangular roof section, and outputs the maximum number of solar panels that can be installed on it.

Constraints:

[Note: you do not need to check constraints in your code for this competition - they are just for information about the range of test data values.]

  • The solar panels can only be installed vertically.
  • The solar panels are 0.95m wide and 1.5m tall.
  • No space is needed between adjacent panels and they can be fitted to the very edges of the roof section.
Input format:
  • First line: A float (The width of the roof section.)
  • Second line: A float (The depth of the roof section.)
Output format:
  • An integer.
Example:
5.1
2.0
5

2025 OUCC

未参加
状态
已结束
规则
IOI
题目
17
开始于
2025-5-4 17:00
结束于
2025-5-4 19:30
持续时间
2.5 小时
主持人
参赛人数
2