Skip to content

Instantly share code, notes, and snippets.

View darkdefender27's full-sized avatar
🎯
Focusing

Shubham Utwal darkdefender27

🎯
Focusing
View GitHub Profile
@darkdefender27
darkdefender27 / SUMQ.py
Last active June 5, 2017 16:51
SUMQ.py
#!/usr/bin/env python
# Author: Shubham Utwal
# Alias: darkdefender27
modulo = 1000000007
def f(x, y, z):
return ((x+y)%modulo*(y+z)%modulo)%modulo