摘要:
Problem Statement Given a string t, we will call it unbalanced if and only if the length of t is at least 2, and more than half of the letters in t ar 阅读全文
摘要:
Recently a dog was bought for Polycarp. The dog's name is Cormen. Now Polycarp has a lot of troubles. For example, Cormen likes going for a walk. Empi 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/275/A 题目描述 你在一栋楼房下面,楼房一共有n层,第i层每秒有pi的概率会扔下一个东西并砸到你 求第一秒内你被砸到的概率 输入描述: 第一行一个整数n之后有n行,第i+1行有两个整数a i ,b i ,表示 输出描述 阅读全文
摘要:
Vasiliy spent his vacation in a sanatorium, came back and found that he completely forgot details of his vacation! Every day there was a breakfast, a 阅读全文