Mai intai trebuie sa te autentifici.
Cod sursa(job #2592814)
| Utilizator | Data | 2 aprilie 2020 13:45:44 | |
|---|---|---|---|
| Problema | Jocul Flip | Scor | 0 |
| Compilator | py | Status | done |
| Runda | Arhiva de probleme | Marime | 0.53 kb |
import math as mp
def parser():
while 1:
data = list(cin.read().split())
for number in data:
if len(number) > 0:
yield(number)
input_parser = parser()
def get_word():
global input_parser
return next(input_parser)
# numpy and scipy are available for use
cin = open("flip.in", "r")
cout = open("flip.out", "w")
n = get_word()
m = get_word()
n = int(n)
m = int(m)
for i in range(0, n):
for j in range(0, m):
x = get_word()
print(0)