LintCode 433, LeetCode 200: Number of Islands (经典BFS/DFS/Union-Find)

搜题功能,图片文字识别技术 模仿作业帮、猿题库等含有搜题功能的app,自定义相机,图片识别技术的实现,超级简单 立即下载
  1. Number of Islands

Given a boolean 2D matrix, 0 is represented as the sea, 1 is represented as the island. If two 1 is adjacent, we consider them in the same island. We only consider up/down/left/right adjacent.

Find the number of islands.

Example
Example 1:

Input:
[
[1,1,0,0,0],
[0,1,0,0,1],
[0,0,0,1,1],
[0,0,0,0,0],
[0,0,0,0,1]
]
Output:
3
Example 2:

Input:
[
[1,1]
]
Output:
1

这题是经典宽搜(BFS)题。有3种解法,BFS,并查集和DFS。
解法1: BFS
注意:
1)遍历每个节点,若为1,则调用bfs。
2)bfs的主要作用就是从该节点向4个方向扩展,把相连的节点设为false。这里要注意的是,把相连的节点设为false后,该节点还是要进queue,不然该方向的宽搜就断了。
3)可以用两个数组dirX和dirY和一个for循环(0…3)来搜索4个方向。
4)每次调用bfs的时候,该节点本身要设为false,这样就不会重复查找了。
5) 每次调用bfs的时候,num_islands只加1,因为所有相连的节点加起来只能算一个。
6) queue里面放coordinate的值而不是指针。
7) queue的操作是
queue.pop() //不返回值
queue.push(node) //从back push
queue.front() //返回queue最front的元素
注意网上有的地方用queue.pop_front()和queue.push_back()。这两个函数我试了不支持,可能是C++版本不一样的原因?

代码如下:

    struct coordinate {
        int x;
        int y;
        coordinate (int x, int y) {
            this->x=x;
            this->y=y;
        }
    };

    int numIslands(vector<vector<bool>> &grid) {
        int num_row=grid.size();
        if (num_row==0) return 0;
        
        int num_col=grid[0].size();
        int num_islands=0;
        
        for (int i=0; i<num_row; ++i) {
            for (int j=0; j<num_col; ++j) {
                if (grid[i][j]) {
                    bfs(grid, i, j);
                    num_islands++;
                }
            }        
        }
        
        return num_islands;
    }

    void bfs(vector<vector<bool>> &grid, int x, int y) {
        //north, east, west, south
        vector<int> dirX = {0,1,-1,0};
        vector<int> dirY = {1,0,0,-1};    
        queue<coordinate> q;
        
        q.push(coordinate(x,y)); //also we can use coordinate temp = coordinate(x, y); and q.push(temp);
        grid[x][y]=false;
        
        while(!q.empty()) {
            coordinate node = q.front();
            q.pop();
            for (int i=0; i<4; i++) {
                coordinate neighbour = coordinate(node.x+dirX[i], node.y+dirY[i]);
            
                if (!(neighbour.x>=0 && neighbour.x<grid.size() && neighbour.y>=0 && neighbour.y<grid[0].size()))
                    continue;
                
                if (grid[neighbour.x][neighbour.y]) {
                    grid[neighbour.x][neighbour.y]=false;
                    q.push(neighbour);
                }   
            }
        }
    } 

二刷:

class Solution {
public:
    /**
     * @param grid: a boolean 2D matrix
     * @return: an integer
     */
    int numIslands(vector<vector<bool>> &grid) {
        int rowSize = grid.size();
        if (rowSize == 0) return 0;
        int colSize = grid[0].size();
        if (colSize == 0) return 0;

        int res = 0;
        int dx[4] = {0, 0, 1, -1};
        int dy[4] = {1, -1, 0, 0};

        queue<pair<int, int>> q;
        vector<vector<bool>> visited(rowSize, vector<bool>(colSize, false));
        
        for (int i = 0; i < rowSize; i++) {
            for (int j = 0; j < colSize; j++) {
                
                if (!visited[i][j] && grid[i][j] == 1) {
                    res++;
                    q.push({i, j});
                } else {
                    continue;
                }
                while (!q.empty()) {
                   auto frontNode = q.front();
                   q.pop();
                   
                   for (int k = 0; k < 4; k++) {
                       int newX = frontNode.first + dx[k];
                       int newY = frontNode.second + dy[k];
                       if (newX < 0 || newX >= rowSize ||
                           newY < 0 || newY >= colSize ||
                           visited[newX][newY] ||
                           grid[newX][newY] == 0
                           ) continue;
                       q.push({newX, newY});
                       visited[newX][newY] = true;
                   }
                }
            }
        }
       return res; 
    }
};

解法2:并查集 union-find。记得二维矩阵可以用i*col+j来转换成一维。

class Solution {
public:
    int numIslands(vector<vector<char>>& grid) {
        int n_row = grid.size();
        int n_col = grid[0].size();
        father.resize(n_row * n_col + 1);
        //initialize, each node's father is itself
        for (int i = 0; i < n_row; i++) {
            for (int j = 0; j < n_col; j++) {
                int num = i * n_col + j;
                father[num] = num;
                if (grid[i][j] == '1') ans++;
            }
        }

       // vector<int> dx = {1, 0};
       // vector<int> dy = {0, 1};
        vector<int> dx = {0, 0, 1, -1};
        vector<int> dy = {1, -1, 0, 0};
        
        for (int i = 0; i < n_row; i++) {
            for (int j = 0; j < n_col; j++) {
                if (grid[i][j] == '1') {
                    for (int k = 0; k < 4; k++) {
                        int newX = i + dx[k];
                        int newY = j + dy[k];
                        if (newX >= 0 && newX < n_row && 
                            newY >= 0 && newY < n_col &&
                            grid[newX][newY] == '1') {
                            join(i * n_col + j, newX * n_col + newY);
                        }
                    }               
                }
            }
        }
        
        return ans;        
    }

private:
    vector<int> father;
    int ans = 0;
    
    int find(int x) {
       if (father[x] == x) {
           return x;
       }
        return father[x] = find(father[x]);
    }
    
    void join(int x, int y) {
        int fatherX = find(x);
        int fatherY = find(y);
        if (fatherX != fatherY) {
            father[fatherX] = fatherY;
            ans--;
        }
    }
};

改进:其实并查集的话,用右和下2个方向就可以了,因为执行到后面的时候,前面的都必然已经处理过了。
注意: DFS和BFS不能这么用! 看下面的例子

111
010
111

当DFS/BFS执行到num[2,1] 这个1(行列序号都从0开始)的时候,它是没有办法往左扩展的,所以num[2,0]这个1没法跟它连在一起。所以num[2,0]又会重新来一次BFS/DFS,而重新来一次的话,count就会加1,这样,就多算了一次。上图会被判为2个岛。
而并查集为什么可以呢?因为并查集算法是先把count初始化为所有的1的个数,然后,每次join的时候count–。这样,虽然num[2.1]不会主动连到num[2,0],但是轮到num[2,0]的时候,它会主动join num[2,1],这样count又会减1。答案正确。

int numIslands(vector<vector<char>>& grid) {
        int n_row = grid.size();
        int n_col = grid[0].size();
        father.resize(n_row * n_col + 1);
        //initialize, each node's father is itself
        for (int i = 0; i < n_row; i++) {
            for (int j = 0; j < n_col; j++) {
                int num = i * n_col + j;
                father[num] = num;
                if (grid[i][j] == '1') ans++;
            }
        }

        vector<int> dx = {1, 0};
        vector<int> dy = {0, 1};
        for (int i = 0; i < n_row; i++) {
            for (int j = 0; j < n_col; j++) {
                if (grid[i][j] == '1') {
                    for (int k = 0; k < 2; k++) {
                        int newX = i + dx[k];
                        int newY = j + dy[k];
                        if (newX >= 0 && newX < n_row && 
                            newY >= 0 && newY < n_col &&
                            grid[newX][newY] == '1') {
                            join(i * n_col + j, newX * n_col + newY);
                        }
                    }               
                }
            }
        }
        
        return ans;        
    }

解法3:深搜DFS。

class Solution {
public:
    int numIslands(vector<vector<char>>& grid) {
        int n_row = grid.size();
        int n_col = grid[0].size();
        int count = 0;
        for (int i = 0; i < n_row; i++) {
            for (int j = 0; j < n_col; j++) {
                if (grid[i][j] == '1') {
                    dfs(grid, i, j);
                    count++;
                }
            }
        }
        return count;
    }
private:
    void dfs(vector<vector<char>> &grid, int i, int j) {
        grid[i][j] = 0;
        int n_row = grid.size();
        int n_col = grid[0].size();
        int dx[4] = {0, 0, 1, -1};
        int dy[4] = {1, -1, 0, 0};
        for (int k = 0; k < 4; ++k) {
            int newX = i + dx[k];
            int newY = j + dy[k];
            if (newX >= 0 && 
                newX < n_row &&
                newY >= 0 &&
                newY < n_col &&
                grid[newX][newY] == '1') {
                dfs(grid, newX, newY);
            }
        }
    }
};

二刷:

class Solution {
public:
    /**
     * @param grid: a boolean 2D matrix
     * @return: an integer
     */
    int numIslands(vector<vector<bool>> &grid) {
        int rowSize = grid.size();
        if (rowSize == 0) return 0;
        int colSize = grid[0].size();
        if (colSize == 0) return 0;
        int res = 0;
        vector<vector<bool>> visited(rowSize, vector<bool>(colSize, false));
        
        for (int i = 0; i < rowSize; i++) {
            for (int j = 0; j < colSize; j++) {
                if (!visited[i][j] && grid[i][j] == 1) {
                    res++;
                    dfs(grid, i, j, visited);
                }
            }
        }
       return res; 
    }
private:
    void dfs(vector<vector<bool>>& grid, int row, int col, vector<vector<bool>>& visited) {
        int rowSize = grid.size();
        if (rowSize == 0) return;
        int colSize = grid[0].size();
        if (colSize == 0) return;
        
        int dx[4] = {0, 0, 1, -1};
        int dy[4] = {1, -1, 0, 0};

        for (int i = 0; i < 4; i++) {
            int newX = row + dx[i];
            int newY = col + dy[i];
            
            if (newX < 0 || newX >= rowSize ||
                newY < 0 || newY >= colSize ||
                visited[newX][newY] ||
                grid[newX][newY] == 0) {
                continue;
            }
            visited[newX][newY] = true;
            dfs(grid, newX, newY, visited);
        }
    }
};
numIslands.py LeetCode代码, 数岛屿数目,语言Python,使用递归方式解决 立即下载

相关推荐

可搜题的微信小程序(含前端后端)

一个可以上传题目到题库,关键词识别,聊天。积分,评论功能的搜题微信小程序

LeetCode 200:岛屿数量 Number of Islands

题目: 给定一个由 '1'(陆地)和 '0'(水)组成的的二维网格,计算岛屿的数量。一个岛被水包围,并且它是通过水平方向或垂直方向上相邻的陆地连接而成的。你可以假设网格的四个边均被水包围。 Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded...

爱写Bug 497

别再浪费主板上的PCIE插槽了!手把手教你用VL805芯片打造高速USB3.0扩展坞

本文详细介绍了如何利用VL805芯片将主板闲置的PCIE插槽改造为高性能USB3.0扩展坞。从芯片选型、电路设计到焊接工艺和系统调试,提供了一套完整的实战指南,帮助用户充分释放硬件潜能,实现高达5Gbps的传输速度。

weixin_27134495的博客 339

BFS处理图的连通性问题 200 Number of Islands

这道题非常简单,因为和上一个题的解法基本相同(286 Walls and gates),只需要稍微变动一下就可以了,大概思路就是遍历整个图找到值为1的陆地,然后从这个点出发做BFS,将走过的地方设置成2(其实可以直接写成0的,我也不知道我当时怎么想的),BFS后继续找下一个值为1的陆地,继续上述步骤。每次找到新的陆地时计数器加1,最后返回计数器的值即可。 需要注意的是这道题的输入值是char,不要...

weixin_44015873的博客 340

【Lane】 Ultra-Fast-Lane-Detection 复现

引言 车道线检测源码复现以及训练自己的数据集 1 环境搭建 conda create -n lane python=3.7 conda activate lane # 激活环境 conda install pytorch torchvision cudatoolkit=10.1 -c pytorch pip install -r requirements.txt 2 下载项目源码 若在服务器上可以用指令下载,否则直接在网址中下载 git clone https://github.com/cfzd/U

qq_44703886的博客 2万+

SAP-HR 模块 PPOSE 的详细信息标签页增强

步骤1:T-CODE : SE11 创建一个名为 HRI9106 的结构 命名:HRI + 91 + 两位数字。人事管理 - 组织管理 - 集成新信息类型 - 将信息类型添加为明细范围中的标签页。步骤6:SE51 查看 7000屏幕,修改屏幕属性 让其更美观。步骤3:T-CODE : SM30维护 T777I 表。步骤5:PPCI 新建 7000屏幕用于显示。标签页 IT 开头 + 信息类型 9106。步骤2:T-CODE : PPCI。步骤4:T-CODE : SPRO。

常回来看看呀!! 1634

孤岛数量

Find the Number of Islands 岛屿数量 问题描述 给定一个仅有0和1组成的矩阵,求不同的岛屿的个数。 其中0代表海,1代表岛,如果两个1相邻,那么这两个1属于同一个岛。只考虑上下左右为相邻。同时假定矩阵之外的区域都为海。 测试样例 # Input: grid = [[1, 1, 0, 0, 0], [0, 1, 0, 0, 1], [1, 0, 0, 1, 1], [0, 1, 1, 0, 0]] # Output: 4 # 有四个

miaochengshi的博客 492

光猫改桥接后,一根网线搞定IPTV和上网的保姆级教程(附VLAN配置避坑点)

本文详细介绍了光猫改桥接后如何通过单线复用技术实现IPTV和上网功能共存。从VLAN配置原理到具体操作步骤,包括光猫超级管理员权限获取、VLAN绑定设置及路由器IPTV功能配置,提供了全面的保姆级教程。特别针对常见问题如IPTV信号丢失、网速下降等给出了实用解决方案,帮助用户轻松避坑。

weixin_29927965的博客 1946

200. Number of Islands(BFS)

https://leetcode.com/problems/number-of-islands/description/ 题目:求岛屿的数目,所有相连的1构成一个岛屿。 思路:BFS class Solution { public: int sum = 0; void BFS(vectorvectorchar>>& grid,int x,int y){ int

博客 573

Python与.NET革命性互操作:PythonNet实现零门槛双向调用——深度解析与实战案例

跨语言调用实战指南:Python与.NET深度集成 摘要:本文详解Python与.NET双向互调技术,通过PythonNet和Python.Runtime实现高效跨语言协作。核心优势包括:无缝集成Python机器学习模块(如PaddleOCR)与.NET UI框架,内存直传提升90%数据效率,减少80%重复代码。内容涵盖:1)Python调用.NET类库的完整流程;2)C#动态加载Python脚本及环境配置要点;3)反射机制实现私有方法调用与泛型处理;4)性能优化技巧(类型缓存、NumPy数组转换);5)异

墨夶的博客 615

Java接入DeepSeek大模型:从零实现流式对话+多轮会话管理(完整项目实战)

emitter.completeWithError(new RuntimeException("连接DeepSeek服务超时"));private static final Set<String> BLACK_WORDS = Set.of("暴力", "色情", "政治敏感");emitter.onCompletion(() -> log.info("SSE连接完成"));emitter.onTimeout(() -> log.warn("SSE连接超时"));// 每个路由基础连接数。

wjianwei666的专栏 941

Number of Islands C++

Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assum

悟 1319

高通8397/8797 qcx camera usecase梳理

本文介绍了ISP(图像信号处理器)的两种工作模式:Inline模式和Offline模式。Inline模式下,前端(IFE)直接连接物理层并行处理,最多支持4路流处理,后端(IPE)通过内存访问完成增强处理;Offline模式下,图像数据先写入内存再由SFE_Lite读取发送给IFE_Full处理,实现一个IFE串行处理多路数据。文章还详细解析了camera_config和usecase配置文件的结构与作用,包括硬件资源配置、场景逻辑定义等,并以ID40_UsecaseDMS为例说明离线模式的具体实现流程,包

车载行业 869

算法题——Number of Islands(C++)BFS

由‘0’和‘1’组成的矩阵,上下左右视为相连,统计独立的'1's有多少块。 **知识储备:** BFS广度优先搜索,常常借助queue来实现。

ivyusing的博客 843

vue2学习笔记2-老规矩,从Hello World开始,了解Vue实例和模板

想要把“Hello,World”放置在页面上,首先需要准备一个HTML的块级元素div,来承接内容。

l_q_l的专栏 1262

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

leetcode200. Number of Islands(DFS,BFS,UnionFound)

独立连通分量的个数: class Solution { private char[][] grid; public int numIslands(char[][] grid) { if(grid.length==0){ return 0; } this.grid=gri...

away_lit的博客 595

贝叶斯统计 [韦来生编]

贝叶斯(Bayes)统计是近几十年来迅速发展起来的数理统计的一个重要分支。贝叶斯方法与经典统计方法的主要不同之处是进行统计推断时除了利用样本信息外,还要利用参数的先验信息,因此可以提高统计推断或统计决策的效果。它在经济、金融、生物、医学、自然科学和社会科学等许多领域具有广泛的应用。贝叶斯方法的研究已渗透到了统计学的几乎所有领域。作者在给中国科学技术大学概率论与数理统计专业本科生开设的“数理统计”课程中有一章专门讲授“贝叶斯方法和统计决策理论”,近十年来也给中国科学技术大学概率统计专业研究生开设过几次“贝叶斯分析”课。本书是在对过去讲稿的内容作了适当的增减和调整的基础上完成的。  本书共分六章。第1章是绪论,介绍了贝叶斯统计的若干基本概念,同时对必要的数理统计的基础知识有重点地作了回顾。第二章介绍了确定先验分布的若干可供选择的方法。第三章介绍了几类常见统计模型参数的后验分布的主要结果和计算方法。第四章和第五章分别介绍了“贝叶斯统计推断”和“贝叶斯统计决策”的内容。第六章介绍了贝叶斯统计计算的若干方法,包括蒙特卡洛方法和马尔可夫链蒙特卡洛(MCMC)方法以及相关统计软件的简介。本书的每一章附右大量的例题和习题,书末附有常用的几个表格和部分习题解答供读者查用。  大约可在54学时内讲授本书的第1章至第六章的主要内容,教师可根据学时需要选讲本书第1章至第六章的部分内容。书中标“*”号的章节可略去不讲,留给读者作为阅读材料。第六章例题中的R代码和部分例题的数据文件等可从作者个人主页下载。  作者在编写本书的过程中参考了J.O.Berger教授的《统计决策论及贝叶斯分析》和茆诗松教授编写的《贝叶斯统计》等书中的一些内容,以及《贝叶斯分析》一书中由张伟平博士编写的有关贝叶斯统计计算的一些内容。在此表示衷心感谢。  本书编写准备过程中,中国科学技术大学统计与金融系的几个研究生帮助完成了本书部分中文的录入和排版,作者对他们的辛勤工作表示真诚的感谢。高等教育出版社为本书的出版给予了大力支持。在此一并致谢。

Number of Islands问题及解法

200. Number of Islands LeetCode

刘天的博客 950

大中型超市收银系统(可直接运行)

光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

200. Number of Islands(岛屿数量)——DFS深度优先搜索和BFS广度优先搜索

Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume...

mirana的专栏 509

【LeetCode】Number of Islands 解题报告

【题目】 Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. Yo

跳出温水的青蛙 1万+

leetcode -- Number of Islands -- DFS&BFS重点题

https://leetcode.com/problems/number-of-islands/要加上一个mask matrix 记录是否被访问过。思路见http://yucoding.blogspot.hk/2015/05/leetcode-questions-number-of-islands.html好好体会其与普通DFS的区别

xyqzki的专栏 1560

Number of Islands BFS

Number of Islands   Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontal

小人物的草稿本 855

200:Number of Islands【DFS】【BFS】

题目链接:click~ /*题意:给出一个二维0和1的矩阵,判断有多少全是1的封闭区域*/ /** *思路:遍历矩阵,遇到1时,以该点为起始点,向四周做深度优先遍历,遇到 * 1是,标记为已访问的状态 * */ class Solution { private: int n,m; public: void DFS(vector> &grid, vector

no pains,no gains 916

Python宽搜(BFS)和深搜(DFS)

目录BFSBFS是什么BPS工作过程和原理BFS应用场景python实现BFS(树和图)python实现BFS图python实现图的最短路径python实现BFS树DFSDFS是什么DFS工作过程和原理DFS应用场景python实现DFSpython实现DFS图python实现DFS树何时使用深搜和广搜python实现树前中后序遍历前序遍历中序遍历后序遍历参考资料 BFS BFS是什么 BFS称为宽度优先搜索也叫做广度优先搜索,其别名又叫BFS,属于一种盲目搜寻法。 Dijkstra单源最短路径算法和Pri

gy的博客 6091

Breadth First Search in Python (宽度/广度优先搜索)

宽搜/广搜简称BFS,Dijkstra单源最短路径算法和Prim最小生成树算法均使用广搜的思想,从一点出发向外辐射直至遍历所有结点。本文主要总结在图和树(特殊的图)上的广搜。2)parent字典用于记录某结点的父结点,方便路径回溯;flag为一个集合,用于标记已经遍历过的结点(该图为无向图);s为起始结点,v为终止结点。1)此处手动输入了示例1,若实际图过大或复杂可以设置相应类。图的广度优先搜索(图源为AI AX AT)图的广度优先搜索(图源为AI AX AT)1)树的广度优先搜索本质上即为树的层次遍历。

m0_45175452的博客 497

【亲测免费】 全能搜题网页端源代码使用指南

全能搜题网页端源代码使用指南 项目介绍 全能搜题网页端 是一个永久免费且基于开源社区贡献的搜题系统。它旨在提供一个全面的搜题解决方案,允许用户搜索各种题目的解答,并支持开发者通过贡献代码或提供建议来共同优化与扩展这一平台。项目采用前后端分离的设计,前端部分由 React 和 TypeScript 强强联合,确保了良好的用户体验及系统可维护性。 项目快速启动 环境准备 确保你的开发环境中已安装 No...

gitblog_00358的博客 875

奇怪的电梯

Description 有一个奇怪的电梯,它可以停在任何一层楼,并且在每一层楼上有一个数字Xi 。 这个电梯只有两个按钮:UP 和 DOWN。 当你在第 i 层楼的时候,如果你按 UP ,那么你将上升 Xi 层楼(即是说你将到达第 i+Xi 层楼), 如果你按 DOWN,那么你将下降 Xi 层楼(即是说你将到达第 i-Xi 层楼)。 当然,你最多到达第 N 层楼,至少到达第 1 层楼。 例如,...

菲菲家的吴先森 1270
上一篇: Binary Tree 非递归遍历模板小结(经典!)
下一篇: LintCode-127: Topological Soring 拓扑排序 (经典题)
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值