Sad Cuts
Practice
4 (4 votes)
Algorithms
Combinatorics
Fast fourier transform
Hard
Code Editor

Please login to use the editor

You need to be logged in to access the code editor

Loading...

Please wait while we load the editor

Loading...
Results
Custom Input
Run your code to see the output
Submissions
Please login to view your submissions
Similar Problems
Points:50
6 votes
Tags:
Permutation and combinationDynamic Programming2D dynamic programmingFast Fourier transformAdvanced AlgorithmsAlgorithmsDivide-and-conquer algorithm
Points:50
8 votes
Tags:
AlgorithmsBinomial CoefficientsEulerian numberFast Fourier transformGenerating FunctionsHardStirling Numbers
Points:20
114 votes
Tags:
ApprovedEasyOpenPriority queueTrees
Editorial

Login to unlock the editorial