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
# Credits: https://github.com/ZooPhy/zoophy-geonames | |
# Source code has been copied from https://github.com/ZooPhy/zoophy-geonames as it is. | |
# Path to Lucene index directory | |
lucene.index.location=index/geonames | |
# ------------------------- | |
# Indexing RELATED PROPERTIES | |
# ------------------------- | |
# root URL to download geonames files |
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
from pygame import * | |
import math | |
import random | |
windowY = 9 * 60 | |
windowX = 16 * 60 | |
init() | |
window = display.set_mode((windowX, windowY)) |
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 question was solved using Segment Tree Data Structures. | |
// Refered to : https://www.codechef.com/viewsolution/20334199 | |
// : https://www.hackerearth.com/practice/data-structures/advanced-data-structures/segment-trees/tutorial/ | |
#include <iostream> | |
using namespace std; | |
#define NMAX 100001 |