Skip to content

Instantly share code, notes, and snippets.

View StarOrpheus's full-sized avatar

Zahar Koval StarOrpheus

  • Limassol, Cyprus
View GitHub Profile
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.*;
public class WordStatLineIndex {
public static final char[] buf = new char[256];
@StarOrpheus
StarOrpheus / 228.py
Last active June 12, 2016 15:12 — forked from anonymous/228.py
FOR 3axap!
from sys import stdin, stdout, stderr
import math
def main():
h, w, n = list(map(int, stdin.readline().split()))
field = [[0 for j in range(w)] for i in range(h)]
for i in range(h):
field[i] = list(map(int, stdin.readline().split()))
f = [[0 for j in range(w)] for i in range(h)]
f[0][0] = field[0][0]