样例输出 输出123058789,函数返回值9 输出54761,函数返回值5 接口说明 函数原型: unsignedint Continumax(char** pOutputstr, char* intputstr) 输入参数: char* intputstr 输入字符串; 输出参数: char** Read More
posted @ 2016-04-17 20:55 再见,少年 Views(691) Comments(0) Diggs(0) Edit
编写一个函数,传入一个int型数组,返回该数组能否分成两组,使得两组中各元素加起来的和相等,并且,所有5的倍数必须在其中一个组中,所有3的倍数在另一个组中(不包括5的倍数),能满足以上条件,返回true;不满足时返回false。 输入输入的数据个数 输入一个int型数组 返回true或者false Read More
posted @ 2016-04-17 10:27 再见,少年 Views(457) Comments(0) Diggs(0) Edit