Checking if variables are pairwise distinctDuoas' method is very simple and it is the one I'll use, the other ones are a bit more complicated a...

Checking if variables are pairwise distinctDuoas, I hadn't heard of std::set before and I'm not sure how should I go about using it. The compil...

Checking if variables are pairwise distinctStewbond, your given functions is not exactly what I need. Both the following codes output 0: [code...

Checking if variables are pairwise distinctIf I want to check if all the variables are pairwise distinct, i.e. they're all different. Here's a ...

Where's the problem in my simple code?My compiler tells me there's an error in the 24th line: "invalid suffix on "x" on integer constant"....