Link: P1580 传送门 Solution: 拿来练练字符串的读入: 1、$gets()$相当于$c++$中的$getline()$,但返回值为指针!(无数据时为NULL) (都读入换行符,并将其舍弃) 2、$sscanf(起始指针,.....,......)$可以实现从另一个字符串读入 3、 ...
分类:
其他好文 时间:
2018-07-09 19:49:39
阅读次数:
120
2012 Multi-University Training Contest 7 A.As long as Binbin loves Sangsang B.Dead or alive C.Dragon Ball D.Draw and paint E.Matrix operation F.Palind ...
分类:
其他好文 时间:
2018-06-27 21:02:38
阅读次数:
213
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which cou ...
分类:
其他好文 时间:
2018-06-23 14:36:21
阅读次数:
165
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which cou ...
分类:
其他好文 时间:
2018-06-22 20:59:56
阅读次数:
180
问题 D: 题目描述 Alice and Brown loves games. Today, they will play the following game.In this game, there are two piles initially consisting of X and Y sto ...
分类:
其他好文 时间:
2018-06-14 21:43:59
阅读次数:
225
Problem description Dima loves representing an odd number as the sum of multiple primes, and Lisa loves it when there are at most three primes. Help t ...
分类:
其他好文 时间:
2018-06-08 23:20:29
阅读次数:
274
Problem description Petya loves lucky numbers. We all know that lucky numbers are the positive integers whose decimal representations contain only the ...
分类:
其他好文 时间:
2018-06-04 23:24:30
阅读次数:
294
Problem description Valera loves his garden, where n fruit trees grow. This year he will enjoy a great harvest! On the i-th tree bi fruit grow, they w ...
分类:
其他好文 时间:
2018-06-03 14:29:41
阅读次数:
175
Problem description Petya loves lucky numbers. Everybody knows that lucky numbers are positive integers whose decimal representation contains only the ...
分类:
其他好文 时间:
2018-06-02 13:27:10
阅读次数:
218
Problem description Petya loves lucky numbers. Everybody knows that positive integers are lucky if their decimal representation doesn't contain digits ...
分类:
其他好文 时间:
2018-06-01 20:41:17
阅读次数:
237