Commit 84ff6b64 authored by 24OI-bot's avatar 24OI-bot
Browse files

style: format markdown files with remark-lint

parent 5567bac0
Loading
Loading
Loading
Loading
+13 −16
Original line number Diff line number Diff line
@@ -59,7 +59,6 @@ arr[2][1] = 1; // 访问二维数组

例:从标准输入中读取两个数 $n$ 和 $m$ ,分别表示黑白图片的高与宽,满足 $n,~m\leq 1000$ 。对于接下来的 $n$ 行数据,每行有用空格分隔开的 $m$ 个数,代表这一位置的亮度值。现在我们读取这张图片,并将其存入二维数组中。

```
    const int maxn = 1001;
    int pic[maxn][maxn];
    int n, m;
@@ -69,6 +68,4 @@ for (int i = 1; i <= n; ++i)
      for (int j = 1; j <= n; ++j)
        cin >> pic[i][j];

```

同样地,你可以定义三维、四维,以及更高维的数组。