#include <iostream>
#include <cstring>
using namespace std;

int main() {
	volatile double a = 1.523e32;
	volatile double b = 0.00000512345;
	volatile double c = 1243423.43432e-17;
	volatile double abc = 0.0;
	abc += a;
	abc += b;
	abc += c;
	volatile double bac = 0.0;
	bac += b;
	bac += a;
	bac += c;
	std::cout << memcmp((void*)&abc, (void*)&bac, sizeof(double));
	return 0;
}