diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..160d324 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "files.associations": { + "ostream": "cpp", + "iostream": "cpp", + "cmath": "cpp", + "*.tcc": "cpp" + } +} \ No newline at end of file diff --git a/input.txt b/input.txt index e69de29..0297f50 100644 --- a/input.txt +++ b/input.txt @@ -0,0 +1,5 @@ +xxx xxx xxx xxx x x x xxx xxx xxx xxx xxx xxx +x x x x x x x x x x x x x x x x x x +xxx xxx xxx xxx xxx xxx x xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx + x x x x x x x x x x x x x x x x x +xxx xxx xxx xxx x x xxx xxx xxx xxx xxx xxx diff --git a/maker.cpp b/maker.cpp index e69de29..542d80d 100644 --- a/maker.cpp +++ b/maker.cpp @@ -0,0 +1,67 @@ +#include + +using namespace std; + +string numbers[10][5]; +string sign[2][5]; +string datas[5]; + +int randn(int x=0,int y=100){ + return ( rand() % (y - x + 1) ) + x ; +} + +string sstr(int a){ + string c=""; + while(a){ + c+=a%10+'0'; + a/=10; + } + string b = ""; + for(int i=0;i