Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 192 Bytes

026.md

File metadata and controls

21 lines (17 loc) · 192 Bytes
//difficulty level: hard

#include <iostream>

auto& g()
{ 
	return std::cout << 2; 
}

auto f()
{
	std::cout << 1;
	return g;
}

int main()
{
	std::cout << (f()() << 3 ? 4 : 5);
}