Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

Commit

Permalink
FINAL commit: readme.txt added
Browse files Browse the repository at this point in the history
  • Loading branch information
jtorgan committed Dec 10, 2012
1 parent c6b97b2 commit 5972d1b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
7 changes: 5 additions & 2 deletions torgan/Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
input_dict = []

try:
if len(sys.argv) != 3:
print "Error: Wrong count of parameters!"
exit(1)

file = open("grid.txt")
file = open(sys.argv[1])
for line in file.readlines():
input_grid.append(line.split())
file.close()

file = open("dict.txt")
file = open(sys.argv[2])
for line in file.readlines():
input_dict.extend(line.split())
file.close()
Expand Down
17 changes: 17 additions & 0 deletions torgan/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
��������� ������������� ��� ���������� ����� ���������� ������� �� ������� �������.

�� ����:
- ��� ����� �� ������ ����
- ��� ����� � �������� ����� ����������

������: Main.py grid.txt dict.txt

������ �����: * - ������ ��� �������
_ - ������ ������(�������)

��������� �������� �� �������:
- ������� � ����������� ����������� ��� ��������� �� ������




0 comments on commit 5972d1b

Please sign in to comment.