Team Transfer
CodeChefOpen on judge ↗
Thor needs to go to Earth wth his team so that he can save the people there but Heimdall tells heam that machine used to transport them is not working :( When thor asks the reason, He tells him that a certain piece of code in the machine is taking too much time to run. The code takes an array as input and applies following function to it. pair func(int a[],int size_of_array) { long long int ans=
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start