阅读背景:

PAT甲级1076 Forwards on Weibo (30分)|C++实现

来源:互联网 

一、题目描述

原题链接
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. When a user makes a post on Weibo, all his/her followers can view and forward his/her post, which can then be forwarded again by their followers. Now given a social network, you are supposed to calculate the maximum potential amount of forwards for any specific user, assuming that only L levels of indirect followers are counted. Weibo is known as




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: