#include <iostream>
using namespace std;

int main() {
	try {
		auto a = new int[1ul<<60];
		std::cout << "Allocated at " << std::hex << a << std::endl;
		delete[] a;
	} catch(const std::bad_alloc&) {
		std::cout << "Exception" << std::endl;
	}
	
	std::cout << "Nothrow: " << new(std::nothrow) int[1ul<<60] << std::endl;
	
	auto a = new(std::nothrow) int;
	std::cout << "Allocated at " << a << std::endl;
	delete a;
	return 0;
}