Betting BusinessYou have opened a new betting business. You have decided that you will accept bets on the upcoming C...
|
Pile of CrabsThere is a pile of crabs standing on one top of another. There are total NNN crabs numbered 111 to ...
|
GCD and SumCongratulations! You’ve been hired in “Buggy Softwares Ltd.” And you’ve been already given your firs...
|
Melencolia IAccording to Wikipedia, Albrecht Dürer (May 21, 1471 - April 6, 1528) was a German painter, printma...
|
Nearest Co-PrimeTwo numbers are relatively prime or co-prime if their greatest common divisor is 111. In this proble...
|
The Answer to EverythingWhat is the answer to the ultimate question of Life, the universe, and everything? It is You will b...
|
AND Maximum Spanning TreeYou have a weighted undirected complete graph of NNN nodes numbered from 000 to N−1N-1N−1. The weigh...
|
Caching CombinatoricsRecently Arya the little panda got a permutation of size AAA as a birthday present from his parents....
|
String SortingYou'll be given a string s=s1s2.....sns = s_1s_2.....s_ns=s1s2.....sn of length nnn consisting of...
|
Dancing TuplesGiven an array AAA of size nnn, find how many tuple (i,j,k)(i, j, k)(i,j,k) are there such that 1≤i&...
|
Matrix ConstructionConstruct a square matrix aaa of size n×nn×nn×n satisfying the following conditions, Each row of th...
|
Maximize MismatchYou are given a permutation PPP of number 1,⋯ ,n1, \cdots , n1,⋯,n (I.E. each number occurs exactly ...
|
No More Shortest PathYou are given a weighted directed graph with nnn nodes and mmm edges. Node SSS is marked as the sour...
|
Jini and the OneJini’s favorite number is one. She always looks for one in any number and if she finds the digit 1 i...
|
Here Is a Treat for You 🍕🍔Kagaya Ubuyashiki, the 97-th leader of the Demon Slayer Corps, Also known as Oyakata-sama to the Dem...
|
Road to MUZANFrom the earliest times, humanity knows about human-eating monsters, lurking in the darkness to devo...
|
Inosuke and Trailing ZeroInosuke and Tanziro are overjoyed because Mr.Haganezuka is bringing their sword of revenge. Because ...
|
Tanjiro’s Training With KanaoAfter the fight in the Natagumo Mountain, Tanjiro felt the need to get sharper. Because in recent fi...
|
Bored in BoxAfter becoming a demon, Nejuko can’t go out in the sunlight. Most of the daytime she stays in a box....
|
Vaccination in BDeshBDesh is a very peaceful country with a smaller population. Recently a Spider Demon with a dangerous...
|
Treat? Itadakimasu…😋So the fight against the demonized humans, who eat good humans, is raging on. And the cause for thes...
|
Buy Two, Get One FreeDuring the Covid-19 pandemic, the members of the Demon Slayer Corps are relaxing at their own houses...
|
Heart of the Demon“The weak have no rights or choices. Their only fate is to be relentlessly crushed by the strong!” ...
|
Change QueriesToday is a very special day for Rubel. Recently he got a job in a software company. Now today is the...
|
Fascination of ZEROSajeeb and Shoikot are two friends. Both are love mathematics. Sajeeb has a fascination with ZERO. T...
|
2Sat, Adhoc, ApolloneasTheorem, Backtracking, BFS, Bignum, BinarySearch, BipartiteMatching, Bitmask, BruteForce, ChineseRemainderTheorem, Combinatorics, ConvexHull, CutVertex, DataStructure, DFS, DigitDP, DisjointSets, DivideAndConquer, DP, Eertree, EulerTour, ExpectedValue, FenwickTree, FFT, Flow, Game, GCD, Geometry, Graph, Greedy, Hashing, HeavyLightDecomposition, Implementation, InclusionExclusion, Interactive, KnuthMorrisPratt, LowestCommonAncestor, Math, Matrix, MatrixExponentiation, MergeSortTree, ModularExponentiation, MOSAlgorithm, MST, NTT, NumberTheory, Parsing, PersistentLiChaoTree, PersistentSegmentTree, PollardRho, PriorityQueue, Probability, Queue, RabinMiller, RangeOrderStatistics, Scheduling, SegmentTree, ShortestPath, Simulation, Sorting, SparseTable, SpragueGrundyTheorem, SqrtDecomposition, Stack, String, StronglyConnectedComponents, SuffixStructure, TernarySearch, Tree, Trie, TwoPointer, WaveletTree