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 |
---|---|---|---|---|---|---|
1433 | Codeforces Round 677 (Div. 3) | FINISHED | False | 7200 | 128618699 | Oct. 20, 2020, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 18583 ) | E | Two Round Dances | PROGRAMMING | combinatorics math |
B'One day, n people ( n is an even number) met on a plaza and made two round dances, each round dance consists of exactly frac{n}{2} people. Your task is to find the number of ways n people can make two round dances if each round dance consists of exactly frac{n}{2} people. Each person should belong to exactly one of these two round dances. Round dance is a dance circle consisting of 1 or more people. Two round dances are indistinguishable (equal) if one can be transformed to another by choosing the first participant. For example, round dances [1, 3, 4, 2] , [4, 2, 1, 3] and [2, 1, 3, 4] are indistinguishable. For example, if n=2 then the number of ways is 1 : one round dance consists of the first person and the second one of the second person. For example, if n=4 then the number of ways is 3 . Possible options: Your task is to find the number of ways n people can make two round dances if each round dance consists of exactly frac{n}{2} people. The input contains one integer n ( 2 <= n <= 20 ), n is an even number. Print one integer -- the number of ways to make two round dances. It is guaranteed that the answer fits in the 64 -bit integer data type.'... |
Codeforces Round #677 (Div. 3) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
96180246 | RedBeam | E | Oct. 20, 2020, 6:51 p.m. | OK | FPC | TESTS | 10 | 31 | 0 | ||
96206226 | Raizor_ | E | Oct. 21, 2020, 5:39 a.m. | OK | GNU C++11 | TESTS | 10 | 15 | 0 | ||
96205712 | Murad1000 | E | Oct. 21, 2020, 5:31 a.m. | OK | GNU C++11 | TESTS | 10 | 15 | 0 | ||
96205313 | Fanzhi419 | E | Oct. 21, 2020, 5:24 a.m. | OK | GNU C++11 | TESTS | 10 | 15 | 0 | ||
96205257 | _martynas | E | Oct. 21, 2020, 5:23 a.m. | OK | GNU C++11 | TESTS | 10 | 15 | 0 | ||
96203241 | annoying | E | Oct. 21, 2020, 4:51 a.m. | OK | GNU C++11 | TESTS | 10 | 15 | 0 | ||
96202691 | MengWH | E | Oct. 21, 2020, 4:40 a.m. | OK | GNU C++11 | TESTS | 10 | 15 | 0 | ||
96202540 | Fanzhi419 | E | Oct. 21, 2020, 4:36 a.m. | OK | GNU C++11 | TESTS | 10 | 15 | 0 | ||
96202476 | LangZi | E | Oct. 21, 2020, 4:35 a.m. | OK | GNU C++11 | TESTS | 10 | 15 | 0 | ||
96200047 | adityakarad28 | E | Oct. 21, 2020, 3:37 a.m. | OK | GNU C++11 | TESTS | 10 | 15 | 0 | ||
96201131 | Sayan_Kar | E | Oct. 21, 2020, 4:02 a.m. | OK | GNU C++11 | TESTS | 10 | 15 | 0 | ||
96171606 | tajirhas9 | E | Oct. 20, 2020, 5:17 p.m. | OK | GNU C++14 | TESTS | 10 | 15 | 0 | ||
96205907 | raushan_07 | E | Oct. 21, 2020, 5:34 a.m. | OK | GNU C++14 | TESTS | 10 | 15 | 0 | ||
96202817 | sunilkannur.98 | E | Oct. 21, 2020, 4:42 a.m. | OK | GNU C++14 | TESTS | 10 | 15 | 0 | ||
96201254 | pulkitsharma6569 | E | Oct. 21, 2020, 4:05 a.m. | OK | GNU C++14 | TESTS | 10 | 15 | 0 | ||
96193832 | zousonghong | E | Oct. 21, 2020, 12:40 a.m. | OK | GNU C++14 | TESTS | 10 | 15 | 0 | ||
96190869 | Singh21juhi | E | Oct. 20, 2020, 10:24 p.m. | OK | GNU C++14 | TESTS | 10 | 15 | 0 | ||
96189782 | fk_clbs | E | Oct. 20, 2020, 9:46 p.m. | OK | GNU C++14 | TESTS | 10 | 15 | 0 | ||
96185219 | ssid8802 | E | Oct. 20, 2020, 8:06 p.m. | OK | GNU C++14 | TESTS | 10 | 15 | 0 | ||
96173689 | rk.karan | E | Oct. 20, 2020, 5:36 p.m. | OK | GNU C++14 | TESTS | 10 | 15 | 0 | ||
96172288 | _rishi_1001 | E | Oct. 20, 2020, 5:23 p.m. | OK | GNU C++14 | TESTS | 10 | 15 | 0 | ||
96167775 | MyEighthName | E | Oct. 20, 2020, 4:47 p.m. | OK | .NET Core C# | TESTS | 10 | 93 | 0 |
Back to search problems