摘要:
参考代码: include include int main() { char str[100], ans[40][40]; scanf("%s", str); int N = strlen(str); int n1 = (N + 2)/3;///是左右两边的字符数量 int n2 = N n1 2 阅读全文
摘要:
需要注意的就是把判定函数提取出来,这样可以简化代码,同时参数引用了&,可以对于传入参数进行修改。 参考代码: define _CRT_SECURE_NO_WARNINGS include include include struct node { char name[20], password[20 阅读全文
摘要:
代码是部分正确,只得了13分还有两个测试点没有通过,不知道原因是啥,先不深究了,赶进度。 参考代码: include include include int main() { char str[10010]; scanf("%s", str); int len = strlen(str); if ( 阅读全文