摘要:
蒜头君酷爱收集萌萌的娃娃。蒜头君收集了 6 种不同的娃娃,第 i 种娃娃的萌值为 i(1≤i≤6)。 现在已知每种娃娃的数量 mi ,蒜头君想知道,能不能把娃娃分成两组,使得每组的娃娃萌值之和相同。 输入格式 输入一行,输入6个整数,代表每种娃娃的数量mi(0≤mi≤20000)。 输出格式 输 阅读全文
posted @ 2020-01-20 09:06
jiamian22
阅读(450)
评论(0)
推荐(0)
摘要:
躲藏 链接:https://ac.nowcoder.com/acm/problem/15669来源:牛客网 题目描述 XHRlyb和她的小伙伴Cwbc在玩捉迷藏游戏。 Cwbc藏在多个不区分大小写的字符串中。 好奇的XHRlyb想知道,在每个字符串中Cwbc作为子序列分别出现了多少次。 由于Cwbc 阅读全文
posted @ 2020-01-20 00:37
jiamian22
阅读(2142)
评论(0)
推荐(2)
摘要:
1 #include <stdio.h> 2 #include <string.h> 3 #include <iostream> 4 #include <string> 5 #include <math.h> 6 #include <algorithm> 7 #include <vector> 8 阅读全文
posted @ 2020-01-20 00:36
jiamian22
阅读(370)
评论(0)
推荐(0)

浙公网安备 33010602011771号