CPP
cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
This code was posted on "Sololearn Playground" by Mihai Dancaescu
You are allowed to modify the code (except this comment which you are prohibited to), but (please) don't repost it.
*/
/*
▄████▄░▄████▄░░▄██░█████░░░░░█░█░█▀█░█▀█░█▀█░█░█
▀▀░▄██░██░░██░▀░██░░░░██░░░░░█▀█░█▀█░█▀▀░█▀▀░▀█▀
▄██▀░░░██░░██░░░██░░░██░░░░░░▀░▀░▀░▀░▀░░░▀░░░░▀░
██████░▀████▀░░░██░░██░░░█▄░█░█▀▀░█░█░█░░█░█░█▀▀░█▀█░█▀█
░░░░░░░░░░░░░░░░░░░░░░░░░█░██░█▀▀░█░█░█░░▀█▀░█▀▀░█▀█░██▀
░░░░░░░░░░░░░░░░░░░░░░░░░▀░░▀░▀▀▀░░▀▀▀░░░░▀░░▀▀▀░▀░▀░▀░▀
(http://steamcommunity.com/discussions/forum/12/154645299384827744/)
(use a tablet/pc to view this/\)
*/
/*
I found this code in my dropbox. :)
Also see https://code.sololearn.com/c9fXXjMgl9b8/?ref=app
*/
#include <cstdio>
#include <conio.h>
#include <cstdlib>
#include <ctime>
///---------------------------------------------------------------------------------------------------------
#define MAZE_SIZE 21 // <- Change this number to change the maze's size (works for odd numbers only, max 85)
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run