QOJ.ac

QOJ

Time Limit: 1 s Memory Limit: 256 MB Total points: 100

#8423. 抛物线的交点

Statistics

求由以下两条抛物线所围成区域的面积:$y = (x - a)^2$ 和 $x = (y - a)^2$。

输入格式

第一行包含一个整数 $a$ ($1 \le a \le 10^{18}$)。

输出格式

输出问题的答案,保留小数点后恰好 10 位,并使用标准的四舍五入规则。

样例

样例输入 1

2

样例输出 1

7.6666666667

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.