usaco: friday in java7, C89 and C++11

Signed-off-by: Rohit Yadav <bhaisaab@baagi.org>