Solutions are presented as using the least memory and the fastest execution time. It also takes the top
10 most recent solutions from each language. If you want to limit to a specific index, click the
"Solved" button and go to that problem.
Problems
B"A mathematician grabbed my computer as I was preparing this problem, deleted the statement, and changed the samples to fit his liking. The model solution and input/output format are still correct, but the samples are wrong. I've partially fixed the problem so that when you submit, it will be tested against the correct version of the problem. However, I can't fix the samples below. As a computer scientist, can you solve the correct problem? The only line of input contains a real number x ( 1 <= q x <= q 100 ), given to exactly three decimal places. Output one real number -- the answer. Your answer is considered correct if its absolute or relative error does not exceed 10^{-4} . Formally, let your answer be a , and the jury's answer be b . Your answer is accepted if and only if frac{|a-b|}{ max(1,|b|)} <= 10^{-4} . "... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
254650570 |
karamkontar |
G |
April 2, 2024, 3 a.m. |
OK |
C# 10 |
TESTS |
14 |
93 |
0 |
|
|
254650539 |
karamkontar |
G |
April 2, 2024, 3 a.m. |
OK |
C# 10 |
TESTS |
14 |
108 |
0 |
|
|
254641749 |
yimuhua |
G |
April 2, 2024, 12:23 a.m. |
OK |
C++14 (GCC 6-32) |
TESTS |
14 |
46 |
0 |
|
|
254619772 |
1-1-1 |
G |
April 1, 2024, 7:08 p.m. |
OK |
C++14 (GCC 6-32) |
TESTS |
14 |
46 |
0 |
|
|
254598866 |
__jk__ |
G |
April 1, 2024, 4:32 p.m. |
OK |
C++14 (GCC 6-32) |
TESTS |
14 |
62 |
0 |
|
|
254642653 |
yyrwlj Abel51 |
G |
April 2, 2024, 12:41 a.m. |
OK |
C++14 (GCC 6-32) |
TESTS |
14 |
62 |
102400 |
|
|
254604913 |
k-128 |
G |
April 1, 2024, 5:11 p.m. |
OK |
C++14 (GCC 6-32) |
TESTS |
14 |
77 |
0 |
|
|
remove filters
Back to search problems