This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This is the solution for the Sorted Set problem in Quora Haqaton, held on december 2014. | |
https://www.hackerrank.com/quora-haqathon | |
""" | |
import socket | |
import sys | |
import os | |
import threading | |
from struct import unpack, pack | |
from operator import itemgetter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//UVa problem 10278 "Fire Stations" C++ solution by @browserapps and @jdp5087 | |
/* to test: | |
g++ UVa10278.cpp -o UVa10278 | |
cat test-case | ./UVa10278 | |
*/ | |
#include <iostream> | |
#include <limits> |