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 |
1331
|
April Fools Day Contest 2020 |
FINISHED |
False |
7200 |
146071499 |
April 1, 2020, 2:35 p.m. |
Problems
B'You are given a mysterious language (codenamed "UnknownX") available in "Custom Test" tab. Find out what this language is, and use it to solve the following problem. You are given an integer input = 1000 * n + mod ( 1 <= n, mod <= 999 ). Calculate double factorial of n modulo mod . The input contains a single integer input ( 1001 <= input <= 999999 ). You are guaranteed that input mod 1000 neq 0 . Output a single number. In the first test case you need to calculate 6!! mod 100 ; 6!! = 6 * 4 * 2 = 48 . In the second test case you need to calculate 9!! mod 900 ; 9!! = 9 * 7 * 5 * 3 = 945 . In the third test case you need to calculate 100!! mod 2 ; you can notice that 100!! is a multiple of 100 and thus is divisible by 2. '... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
76073596 |
dantrag |
H |
April 10, 2020, 9:23 a.m. |
OK |
UnknownX |
TESTS |
30 |
124 |
307200 |
|
|
76073545 |
ms_crystal_ship |
H |
April 10, 2020, 9:22 a.m. |
OK |
UnknownX |
TESTS |
30 |
124 |
307200 |
|
|
76065511 |
wh0816 |
H |
April 10, 2020, 7:30 a.m. |
OK |
UnknownX |
TESTS |
30 |
124 |
307200 |
|
|
75837631 |
div_4610 |
H |
April 8, 2020, 1:18 p.m. |
OK |
UnknownX |
TESTS |
30 |
124 |
307200 |
|
|
75763084 |
aartdem |
H |
April 7, 2020, 3:57 p.m. |
OK |
UnknownX |
TESTS |
30 |
124 |
307200 |
|
|
75708102 |
fuadul |
H |
April 7, 2020, 3:19 a.m. |
OK |
UnknownX |
TESTS |
30 |
124 |
307200 |
|
|
75706101 |
Atoev__Urvatullo |
H |
April 7, 2020, 2:19 a.m. |
OK |
UnknownX |
TESTS |
30 |
124 |
307200 |
|
|
75569709 |
programmisstt |
H |
April 5, 2020, 12:50 p.m. |
OK |
UnknownX |
TESTS |
30 |
124 |
307200 |
|
|
75486232 |
louiswi |
H |
April 4, 2020, 12:53 p.m. |
OK |
UnknownX |
TESTS |
30 |
124 |
307200 |
|
|
75323755 |
LRJf |
H |
April 3, 2020, 8:40 a.m. |
OK |
UnknownX |
TESTS |
30 |
124 |
307200 |
|
|
remove filters
Back to search problems