Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social n            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2020-04-30 16:46:00
                            
                                44阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            题目题意:给出微博每个人关注的人,给定查询序列,求出其L直属等级下            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-06-27 10:25:26
                            
                                64阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            1 题目1076 Forwards on Weibo (30分)Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-05-26 11:58:37
                            
                                98阅读
                            
                                                                             
                 
                
                                
                     
                                    
                             
         
            
            
            
            题意 在微博中,每个用户都可能被若千个其他用户关注。而当该用户发布一条信息时,他的关注者就可以看到这条信息并选择是否转发它,且转发的信息也可以被转发者的关注者再次转发,但同一用户最多只转发该信息一次(信息的最初发布者不会转发该信息)。现在给出N个用户的关注情况( 即他们各自关注了哪些用户)以及一个转            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2021-02-28 21:18:00
                            
                                85阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social n            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2018-03-16 14:57:00
                            
                                30阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            这题是2014-06-18 做的,这次PAT培训发现题目一样就交了一下;顺便当初编辑。然后我又写了个dfs的,结果还是有一个超时。这个ac的属于Bfs的,这题显然适合Bfs,但是当初我还没学,就用的矩阵代替邻接表使用。Bfs可以使用queue,然后count代码排列顺序            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-11-25 11:10:49
                            
                                45阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            1.题目https://pintia.cn/problem-sets/994805342720868352/problems/994805392092020736微博转发背景            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-07-14 10:28:38
                            
                                43阅读
                            
                                                                             
                 
                
                                
                     
                                    
                             
         
            
            
            
            1076 Forwards on Weibo (30 point(s))Weibo i            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-09-15 10:52:00
                            
                                67阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            #include<iostream>#include<stdio.h>#include<stdlib.h>#include<math.h>#include<string.h>#include<algorithm>  #include<map>#include<vector>#inclu...            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-07-14 10:18:36
                            
                                23阅读
                            
                                                                             
                 
                
                             
         
            
            
            
             PAT A1076 Forwards on Weibo#include <iostream>
#include<vector> 
#include<queue> 
#include<cstring>
using namespace std;
const int MAXN = 10000;
vector<int> map_[M            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-06-09 14:12:51
                            
                                16阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            返回目录
题意            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-07-14 17:50:51
                            
                                39阅读
                            
                                                                             
                 
                
                                
                     
                                    
                             
         
            
            
            
            Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social n            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2018-06-21 09:44:00
                            
                                77阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            题目链接:Forwards on Weibo (30分)题目描述Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social network is form            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-11-22 10:18:46
                            
                                68阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            1076Forwards on Weibo(30分)Weibo is known as the Chinese version of Twitter. One user            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-09-19 15:43:57
                            
                                53阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            /*************************题意:此题一半时间花在理解题意上。。。每个人都会关注(follow)一些人。当他关注的人发了新微博时,他也一定会转发。题目里给的user_list[i]是i所关注的人,而不是i的粉丝。然后问转发量会有多少, 并把转发量限定在L级之内(不是L级,是L级及L级以下)************************//********            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-09-26 10:13:21
                            
                                69阅读
                            
                                                                             
                 
                
                                
                     
                                    
                             
         
            
            
            
            1076. Forwards on Weibo (30)
时间限制
3000 ms
内存限制
65536 kB
代码长度限制
16000 B
判题程序
Standard
作者
CHEN, Yue
Weibo is known as the Chinese version o            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-11-09 18:20:56
                            
                                51阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            1076 Forwards on Weibo (30分)
 
Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social network            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2021-08-31 11:01:02
                            
                                302阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            1076 Forwards on Weibo (30分)
 
Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social network is fo            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2021-08-30 16:45:39
                            
                                107阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            题目信息 1076. Forwards on Weibo (30) 时间限制3000 ms 内存限制65536 kB 代码长度限制16000 B Weibo is known as the Chinese version of Twitter. One user on Weibo may have            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2017-07-10 16:55:00
                            
                                84阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            题目链接
Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social network is formed with followers relations. Wh...            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2021-07-12 10:15:36
                            
                                50阅读