Skip to content

Instantly share code, notes, and snippets.

View uerobert's full-sized avatar

Robert uerobert

View GitHub Profile
@uerobert
uerobert / neerc-09-north-E.cpp
Created May 30, 2013 09:59
E. Enigmatic Device @ NEERC 2009 Northern Subregional.
#include <iostream>
#include <algorithm>
#include <cstdio>
using namespace std;
const int MOD = 2010;
const int MAX = 50011;
const int ITER = 12;
const int OFFSET = 2;