Hello 2018

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.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
913 Hello 2018 FINISHED False 9000 222102923 Jan. 8, 2018, 2:45 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 128 ) H Don't Exceed PROGRAMMING math probabilities 3400

B"You generate real numbers s1, xe2 x80 x89s2, xe2 x80 x89..., xe2 x80 x89sn as follows: You are given real numbers x1, xe2 x80 x89x2, xe2 x80 x89..., xe2 x80 x89xn. You are interested in the probability that si xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89xi is true for all i simultaneously. It can be shown that this can be represented as , where P and Q are coprime integers, and . Print the value of P xc2 xb7Q xe2 x80 x89- xe2 x80 x891 modulo 998244353. The first line contains integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8930). The next n lines contain real numbers x1, xe2 x80 x89x2, xe2 x80 x89..., xe2 x80 x89xn, given with at most six digits after the decimal point (0 xe2 x80 x89< xe2 x80 x89xi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n). Print a single integer, the answer to the problem. In the first example, the sought probability is 1 since the sum of i real numbers which don't exceed 1 doesn't exceed i. In the second example, the probability is x1 itself. In the third example, the sought probability is 3 xe2 x80 x89/ xe2 x80 x898. "...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
35516864 F.Darcy H Feb. 20, 2018, 9:27 a.m. OK GNU C++ TESTS 120 31 2969600 3400
36242228 fangjiahao123 H March 13, 2018, 8:25 a.m. OK GNU C++ TESTS 120 31 26419200 3400
35976048 bestFy H March 5, 2018, 7:54 p.m. OK GNU C++ TESTS 120 46 2355200 3400
36278247 xuqijie H March 14, 2018, 2:01 p.m. OK GNU C++ TESTS 120 46 43417600 3400
41651337 vjudge5 H Aug. 16, 2018, 12:01 p.m. OK GNU C++ TESTS 120 124 512000 3400
34071187 lastans H Jan. 10, 2018, 2:36 p.m. OK GNU C++ TESTS 120 327 4198400 3400
57871891 lopare H July 28, 2019, 2:27 a.m. OK GNU C++11 TESTS 120 31 204800 3400
34237439 Nero H Jan. 17, 2018, 12:41 a.m. OK GNU C++11 TESTS 120 31 2150400 3400
34124005 xuwenkai0706 H Jan. 13, 2018, 9:58 a.m. OK GNU C++11 TESTS 120 31 53964800 3400
57768219 py_ultron H July 25, 2019, 10:12 p.m. OK GNU C++11 TESTS 120 46 204800 3400
34330494 Ghaffargang H Jan. 19, 2018, 8:39 p.m. OK GNU C++11 TESTS 120 46 2560000 3400
34091525 tmwilliamlin168 H Jan. 11, 2018, 4 p.m. OK GNU C++11 TESTS 120 46 2560000 3400
34089234 VPigeonKing H Jan. 11, 2018, 1:54 p.m. OK GNU C++11 TESTS 120 62 2764800 3400
35784983 antguz H Feb. 28, 2018, 12:54 p.m. OK GNU C++11 TESTS 120 77 2457600 3400
37138463 zhouyuyang H April 10, 2018, 7:49 a.m. OK GNU C++11 TESTS 120 77 48435200 3400
39212281 King_George H June 13, 2018, 9:58 a.m. OK GNU C++11 TESTS 120 93 716800 3400
35954836 -w- H March 5, 2018, 2:49 a.m. OK GNU C++14 TESTS 120 31 2048000 3400
34156187 ftiasch H Jan. 13, 2018, 4:33 p.m. OK GNU C++14 TESTS 120 31 2048000 3400
34106602 NiroBC H Jan. 12, 2018, 12:52 p.m. OK GNU C++14 TESTS 120 31 2662400 3400
36275225 Isrothy H March 14, 2018, 12:29 p.m. OK GNU C++14 TESTS 120 31 5324800 3400
36275089 Isrothy H March 14, 2018, 12:25 p.m. OK GNU C++14 TESTS 120 31 7987200 3400
36274867 Isrothy H March 14, 2018, 12:18 p.m. OK GNU C++14 TESTS 120 31 7987200 3400
34087891 FallDream H Jan. 11, 2018, 12:49 p.m. OK GNU C++14 TESTS 120 31 53862400 3400
69593807 Cyanic H Jan. 27, 2020, 3 a.m. OK GNU C++14 TESTS 120 46 204800 3400
40978551 ReaLNero1 H July 30, 2018, 4:40 p.m. OK GNU C++14 TESTS 120 46 51916800 3400
34087936 FallDream H Jan. 11, 2018, 12:51 p.m. OK GNU C++14 TESTS 120 46 53862400 3400
63359825 gongsuidashen H Oct. 25, 2019, 4:59 a.m. OK GNU C++17 TESTS 120 46 51916800 3400
35784954 antguz H Feb. 28, 2018, 12:53 p.m. OK GNU C++17 TESTS 120 61 2457600 3400
59382493 Nakagawa.Kanon H Aug. 24, 2019, 4:20 a.m. OK GNU C++17 TESTS 120 62 614400 3400
57427331 Benq H July 20, 2019, 9:19 p.m. OK GNU C++17 TESTS 120 77 819200 3400
67853005 mocania H Dec. 29, 2019, 4:34 a.m. OK GNU C++17 TESTS 120 109 127897600 3400
59189953 Master_Hleb H Aug. 20, 2019, 8:24 p.m. OK GNU C++17 TESTS 120 202 409600 3400
47080643 ppprrrooo35 H Dec. 15, 2018, 7:33 p.m. OK GNU C++17 TESTS 120 202 409600 3400
45555323 ppprrrooo35 H Nov. 11, 2018, 8:12 a.m. OK GNU C++17 TESTS 120 202 409600 3400
62601977 ak_taniya H Oct. 15, 2019, 6:02 a.m. OK GNU C++17 TESTS 120 202 512000 3400
65126373 Oak_limy H Nov. 16, 2019, 2:38 a.m. OK GNU C++17 TESTS 120 218 409600 3400

remove filters

Back to search problems