I have submitted the same algorithm with different input streams (cin and scanf) , I used ios_base::sync_with_stdio(false);cin.tie(NULL); with the cin and cout but still got a high difference in speeds?
Can somebody explain??
The problem link that I submitted is this one-- https://mirror.codeforces.com/problemset/problem/368/B
and my two differnt solutions are of 111556695 and 111568920 on Mar/31/2021.