forgive me

forgive me
forget the jokes when we were young
forget the words when we were not serious.
If I have hurt you,forgive me.
I really couldn't do that so,but I did it actually.
forgive me ,if you take it into your heart.
forgive me
you can find another girl who love you more than
herself
thanks to you,bring me help and dreams,bring me
careness and consideration
it's you that let me know what really love is,your
manners taught me how to love others.I cann't
deceive myself.
Let me alone ,if you wish we can do as we did
before ,good friends.
if you can't confront,please forget me,time is the
best doctor,which can bring peace and take sorrow
away.
I pretended to get away from you  to give you time
to give up the fantasy.It's crule ,however The long
pain is inferior to the short pain.



Before we get close to each other,we're
strangers,right now and in the future we're old
friends.
If your heart is cold and you feel bule ,please let
me know.However all I can give is
assistance,listening.I'm sorry I can't give you
love.I almost fell in love with you during the hard
time,it is you that bring me light and warmth,bring
me happiness and hope;But it's you that take it all
away,  so I give you free and I recover later
,please don't say you love me when you're hurt,and
now please let's be friends,we can't be lovers any
more because of the coldness you brought me.We can
be friends because of the happy time we had.Or we
can be strangers again just like we met
before.Friends or strangers ,you have a choice.I
just follows others beside me,maybe I am generous
who always give the initiative to others ,maybe I'm
asocial who can't make a decision and give it to
others.
I thought I was Christ,actually I'm not.I'm the
person who is waiting for sb to rescue her.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21985024/viewspace-614114/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/21985024/viewspace-614114/

对这10个测试样例,逐一分类讨论,分类讨论要在代码中实现 # T597882 染紫 ## 题目背景 [エンパープル](https://music.163.com/#/song?id=2690902320)。 > Please,Forgive me and "Purple" > > まだ真ん中の私Empurple ## 题目描述 雪有一棵大小为 $n$ 的树。 雪定义一种树上的染色方案的权值: 设 $a$ 为其红色极大连通块的大小的平方的和。 设 $b$ 为其蓝色极大连通块的大小的平方的和。 这种染色方案的权值为 $ab$。 树上一些点已经被染上了红或蓝色,请将剩余点分别染成红或蓝色,求所有合法染色方案的权值和。 设待染色节点的个数为 $C$,则所有合法染色方案共有 $2^C$ 个。 答案可能很大,请对 $998244353$ 取模。 ## 输入格式 第一行输入一个整数 $n$。 接下来有 $n-1$ 行,每行两个整数 $u_i,v_i$ 代表树上的一条边 $(u_i,v_i)$。 接下来有一行,一共 $n$ 个字符的字符串 $s$。 当 $s_i=\texttt{r}$,该点为红色。 当 $s_i=\texttt{b}$,该点为蓝色。 当 $s_i=\texttt{w}$,该点待染色。 ## 输出格式 输出答案对 $998244353$ 取模后的结果即可。 ## 输入输出样例 #1 ### 输入 #1 ``` 6 1 2 1 3 1 4 2 5 5 6 rbwrbw ``` ### 输出 #1 ``` 186 ``` ## 输入输出样例 #2 ### 输入 #2 ``` 20 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 wwwwwwwwwwwwwwwwwwww ``` ### 输出 #2 ``` 678428480 ``` ## 输入输出样例 #3 ### 输入 #3 ``` 10 1 2 2 3 3 4 3 5 3 6 3 7 5 8 7 9 4 10 wbwwwrwrrw ``` ### 输出 #3 ``` 8056 ``` ## 输入输出样例 #4 ### 输入 #4 ``` 4 1 2 1 3 2 4 rbbr ``` ### 输出 #4 ``` 4 ``` ## 输入输出样例 #5 ### 输入 #5 ``` 5 1 2 1 3 2 4 3 5 wbwrw ``` ### 输出 #5 ``` 100 ``` ## 输入输出样例 #6 ### 输入 #6 ``` 7 1 2 1 3 2 4 2 5 3 6 3 7 wbwrwbr ``` ### 输出 #6 ``` 294 ``` ## 说明/提示 样例一解释: (https://cdn.luogu.com.cn/upload/image_hosting/ns48pe7b.png) ## 测试点分布 | 编号 | 分值 | $n$ 的范围 | 特殊性质 | | :-----------: | :-----------: | :-----------: | :-----------: | | 0 | 10 | $n \le 1$ | | | 1 | 10 | $n \le 10$ | | | 2 | 10 | $n \le 40$ | $s_i =\texttt{w}$ | | 3 | 10 | $n \le 300$ | | | 4 | 10 | $n \le 5000$ | | | 5 | 10 | $n \le 10^6$ | $s_i \in \{\texttt{r},\texttt{b}\}$ | | 6 | 10 | $n \le 2\times 10^5$ | $s_i \in \{\texttt{r},\texttt{w}\}$ | | 7 | 10 | $n \le 2\times 10^5$ | $s_i =\texttt{w}$ | | 8 | 10 | $n \le 2\times 10^6$ | $u_i=v_i-1$ | | 9 | 10 | $n \le 10^6$ | $u_i=1$ |
07-17
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值