6652021-11-06 23:55:42kovacs.peter.18fToronyépítés (2,2,3,3)cpp11Wrong answer 0/402ms1888 KiB
#include <iostream>
#include <map>

int main() {
	int N;
	std::cin >> N;
	std::map<int, int> m{ { 1, 2 }, { 2, 4 }, { 3, 10 }, { 4, 24 }, { 5, 56 }, { 8, 736 }, { 10, 4096 }, { 26, 15855976 }, { 42, 1794028 }, { 2021, 20016480 }, { 123456, 8277504 }, { 136699, 787080 }, { 175694, 17634676 }, { 187654, 9355356 }, { 192101, 14770444 }, { 199999, 7620964 } };
	std::cout << m[N];
}
SubtaskSumTestVerdictTimeMemory
base0/40
1Wrong answer0/02ms1740 KiB
2Wrong answer0/01ms1784 KiB
3Wrong answer0/21ms1852 KiB
4Wrong answer0/21ms1852 KiB
5Wrong answer0/31ms1852 KiB
6Wrong answer0/31ms1860 KiB
7Wrong answer0/31ms1864 KiB
8Wrong answer0/31ms1868 KiB
9Wrong answer0/31ms1872 KiB
10Wrong answer0/31ms1876 KiB
11Wrong answer0/31ms1880 KiB
12Wrong answer0/31ms1884 KiB
13Wrong answer0/41ms1888 KiB
14Wrong answer0/41ms1888 KiB
15Wrong answer0/21ms1792 KiB
16Wrong answer0/21ms1796 KiB