Got it to run using set+unordered_map, but now I wanted to try out the simpler while loop.
Getting WA, does anyone know where I'm going wrong?
#include <bits/stdc++.h>
using namespace std;
int minFind(int a,int b,int c)
{
if(a<=b)
Read more… (147 words)