From fe478e5ff81884cdc8ece2e54bf0f5f6cad9182a Mon Sep 17 00:00:00 2001 From: Arkadiusz Date: Tue, 7 May 2019 22:43:21 +0100 Subject: [PATCH] DFS znajduje wszystkie mozliwe sciezki --- .idea/workspace.xml | 174 +++++++++++++++--------------- __pycache__/waiter.cpython-37.pyc | Bin 5857 -> 6354 bytes game.py | 4 +- waiter.py | 172 ++++++++++++++++------------- 4 files changed, 187 insertions(+), 163 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 28ef5c2..2fc22d1 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -17,17 +17,17 @@ - + - + - - + + @@ -35,8 +35,8 @@ - - + + @@ -53,7 +53,7 @@ - + @@ -65,26 +65,27 @@ - + - + - - + + - - - - - - - + + + + + + + + @@ -126,16 +127,15 @@ - @@ -269,13 +269,13 @@ - + - + @@ -332,18 +332,6 @@ - - - file://$PROJECT_DIR$/waiter.py - 284 - - - file://$PROJECT_DIR$/game.py - 54 - - @@ -354,10 +342,19 @@ - + + + + + grid + Python + EXPRESSION + + + @@ -417,44 +414,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -469,27 +428,66 @@ - + - - + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + diff --git a/__pycache__/waiter.cpython-37.pyc b/__pycache__/waiter.cpython-37.pyc index 446510f841a545ad5d745c7e1e2c4f3b01e55dec..6615e3731def6840e8f8b8a716e1ef013d59ecdb 100644 GIT binary patch literal 6354 zcmb_g&5s;M6|b)Tn4XW_^?qRQIw2Yo10IkZ6HsD|3C4Ep_=EMzyUT{rl1Y22z3$oh za&>QZchr^un;VBcL>wXxyE!0{zW^bQ;l=?ZltZ5^!GXOX&gKw)uX?&?rf204iy3uQ z^?UWIUj6#jd#~!!#6*GN7yRe1>w9Mz`#ZfPKLd@6cziIJU_xuMYFuko4ez|kTY6R3 z*fl0}VLWESaE(WL)fC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