From 36af1fb730674895b9a678ef79c2867b52d85cf1 Mon Sep 17 00:00:00 2001 From: p9gzklfo6 Date: Sat, 2 Nov 2024 11:03:36 +0800 Subject: [PATCH] Update README.md --- README.md | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e41e98..ffe4e77 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,54 @@ # matrix - +#include +#include +#include +int main{ + int board[9][9]={0}; + srand(time(NULL)); + void generate(int board[9][9]); + void format(int board[9][9]); + generate(board); + format(board); +} + void random(int arr[9]){ + for(int i=0;i<9;i++){ + arr[i]=rand()%9+1; +Re: + for(int j=0;j