BANG_
BANG_
全部文章
题解
归档
标签
去牛客网
登录
/
注册
艰苦朴素,求真务实
全部文章
/ 题解
(共3篇)
题解 | #日期类#
知识点:基础数学、模拟 描述 编写一个日期类,要求按xxxx-xx-xx的格式输出日期,实现加一天的操作。 输入描述: 输入第一行表示测试用例的个数m,接下来m行每行有3个用空格隔开的整数,分别表示年月日。测试数据不会有闰年。 输出描述: 输出m行。按xxxx-xx-xx的格式输出,表示输入日期的后...
C++
模拟
2022-03-11
3
466
题解 | #与7无关的数#
描述 Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as: h...
C++
模拟
2022-03-10
0
458
1017-栗酱数数
1017-栗酱数数 链接 链接:https://ac.nowcoder.com/acm/contest/19305/1017 来源:牛客网 题目描述 栗酱在酒桌上玩一个小游戏,第一个人从1开始数数,如果遇到数字中含4或者数字是4的倍数则跳过报下一个,谁数错了就要罚酒一杯。 所以栗酱想让你写个程序把所...
C++
枚举
2022-03-09
1
956