- 博客(5)
- 资源 (2)
- 问答 (2)
- 收藏
- 关注
原创 【cf】Restoring Paintie
原题 题意: Help Vasya find out the number of distinct squares the satisfy all the conditions above. Note, that this number may be equal to 0, meaning Vasya remembers something wrong. Two sq
2016-05-31 17:05:08 255
原创 Life Without Zeros
Life Without Zeros Can you imagine our life if we removed all zeros from it? For sure we will have many problems. In this problem we will have a simple example if we removed all zeros from our
2016-05-17 19:02:20 361
原创 Football
Football Description Petya loves football very much. One day, as he was watching a football match, he was writing the players' current positions on a piece of paper. To simplify the situation he
2016-05-17 17:21:14 539
原创 Codeforces 66A Petya and Java
Petya and Java 题意:五种数据类型,每种类型能存储的数据范围不同,占据的字节数也不同,求存储n可用的最少字节的数据类型。 思路:以字符串形式表示n,用函数strcmp进行比较。 #include #include #include using namespace std; int main(){ char a[105]; int len; scanf("%s",a);
2016-05-17 16:56:52 402
原创 Codeforces 84A:Toy Army
原题 题意:V,G两队人,每队n个人,每人攻击一人,也可以多人攻击一人,顺序为V,G,V。求最多多少人被攻击。
2016-05-17 16:31:31 644
Apache-2.4.27(64bit)
2017-07-14
计算星期几的公式。。
2018-10-27
程序没有main函数,会出现什么
2018-10-27
TA创建的收藏夹 TA关注的收藏夹
TA关注的人