From e1da680972b51072ea5188319a43e500eb372ee5 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 23 Sep 2015 12:09:08 +0200 Subject: Add missing imports for Prolog problems --- prolog/problems/family_relations/ancestor_2/common.py | 7 +++++++ prolog/problems/family_relations/aunt_2/common.py | 7 +++++++ prolog/problems/family_relations/cousin_2/common.py | 7 +++++++ prolog/problems/family_relations/descendant_2/common.py | 7 +++++++ 4 files changed, 28 insertions(+) diff --git a/prolog/problems/family_relations/ancestor_2/common.py b/prolog/problems/family_relations/ancestor_2/common.py index 873b87b..3226f34 100644 --- a/prolog/problems/family_relations/ancestor_2/common.py +++ b/prolog/problems/family_relations/ancestor_2/common.py @@ -1,5 +1,12 @@ # coding=utf-8 +from operator import itemgetter +import socket +import prolog.engine +import prolog.util +from server.hints import Hint, HintSequence +import server.problems + id = 100 group = 'family_relations' number = 7 diff --git a/prolog/problems/family_relations/aunt_2/common.py b/prolog/problems/family_relations/aunt_2/common.py index ed291fc..2aeba9d 100644 --- a/prolog/problems/family_relations/aunt_2/common.py +++ b/prolog/problems/family_relations/aunt_2/common.py @@ -1,5 +1,12 @@ # coding=utf-8 +from operator import itemgetter +import socket +import prolog.engine +import prolog.util +from server.hints import Hint, HintSequence +import server.problems + id = 98 group = 'family_relations' number = 5 diff --git a/prolog/problems/family_relations/cousin_2/common.py b/prolog/problems/family_relations/cousin_2/common.py index d95babd..cd5cd38 100644 --- a/prolog/problems/family_relations/cousin_2/common.py +++ b/prolog/problems/family_relations/cousin_2/common.py @@ -1,5 +1,12 @@ # coding=utf-8 +from operator import itemgetter +import socket +import prolog.engine +import prolog.util +from server.hints import Hint, HintSequence +import server.problems + id = 99 group = 'family_relations' number = 6 diff --git a/prolog/problems/family_relations/descendant_2/common.py b/prolog/problems/family_relations/descendant_2/common.py index 9032612..21de450 100644 --- a/prolog/problems/family_relations/descendant_2/common.py +++ b/prolog/problems/family_relations/descendant_2/common.py @@ -1,5 +1,12 @@ # coding=utf-8 +from operator import itemgetter +import socket +import prolog.engine +import prolog.util +from server.hints import Hint, HintSequence +import server.problems + id = 101 group = 'family_relations' number = 8 -- cgit v1.2.1