From d224a2d6a215264e6ca5854d07461311bda773c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matev=C5=BE=20Pober=C5=BEnik?= Date: Fri, 27 Oct 2017 14:27:32 +0200 Subject: HW 2 - FKKT --- python/problems/lists_and_if-fkkt/contains_number/common.py | 2 +- python/problems/lists_and_if-fkkt/contains_word/common.py | 2 +- python/problems/lists_and_if-fkkt/temp_converter/common.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'python/problems/lists_and_if-fkkt') diff --git a/python/problems/lists_and_if-fkkt/contains_number/common.py b/python/problems/lists_and_if-fkkt/contains_number/common.py index b20d7b9..0601f49 100644 --- a/python/problems/lists_and_if-fkkt/contains_number/common.py +++ b/python/problems/lists_and_if-fkkt/contains_number/common.py @@ -4,7 +4,7 @@ from python.util import has_token_sequence, string_almost_equal, \ from server.hints import Hint id = 25006 -number = 2 +number = 3 visible = True solution = '''\ diff --git a/python/problems/lists_and_if-fkkt/contains_word/common.py b/python/problems/lists_and_if-fkkt/contains_word/common.py index 1c4843c..aed2a9e 100644 --- a/python/problems/lists_and_if-fkkt/contains_word/common.py +++ b/python/problems/lists_and_if-fkkt/contains_word/common.py @@ -4,7 +4,7 @@ from python.util import has_token_sequence, string_almost_equal, \ from server.hints import Hint id = 25007 -number = 3 +number = 2 visible = True solution = '''\ diff --git a/python/problems/lists_and_if-fkkt/temp_converter/common.py b/python/problems/lists_and_if-fkkt/temp_converter/common.py index 1b41ef1..0fe68e7 100644 --- a/python/problems/lists_and_if-fkkt/temp_converter/common.py +++ b/python/problems/lists_and_if-fkkt/temp_converter/common.py @@ -66,7 +66,7 @@ def test(python, code, aux_code=''): def hint(python, code, aux_code=''): # run one test first to see if there are any exceptions - test_in = [(None, '1\n')] + test_in = [(None, '32\nK\n')] answer = python(code=aux_code+code, inputs=test_in, timeout=1.0) exc = get_exception_desc(answer[0][3]) if exc: return exc -- cgit v1.2.1