Bernie and banks
CodeChefOpen on judge ↗
Problem description. Bernie Sanders says if elected he will break up the big banks so as to stabilize the economy. For that he wants to know the number of unordered pairs of integers from 1 to N which are coprime To find that out he needs your help . So given an integer N find the answer Input Input description. The first line contains T denoting the number of test cases. The corresponding
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