编写题解 1536: 蓝桥杯算法提高VIP-最长单词 摘要:解题思路:注意事项:按空格分割为多个字符串,在比较每个字符串的长度。参考代码:#include<stdio.h>#include<string.h>void max(char* p, char sz[…… 题解列表 2024年03月30日 0 点赞 0 评论 488 浏览 评分:0.0
c++++++++++++++++++++++++ 摘要:includeincludeincludeincludeinclude // 包含 pairusing namespace std;int main() { ve…… 题解列表 2025年01月15日 0 点赞 0 评论 282 浏览 评分:0.0
最长字符(sf12k) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s;&n…… 题解列表 2025年06月02日 0 点赞 0 评论 158 浏览 评分:0.0
蓝桥杯算法提高VIP-最长单词 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { char s[10000]; int i…… 题解列表 2018年11月21日 0 点赞 0 评论 625 浏览 评分:0.0
蓝桥杯算法提高VIP-最长单词 (C语言代码) 摘要:解题思路:统计出每一个单词,与最长单词进行比较,保留最长单词即可。参考代码:#include <stdio.h> #include <string.h> void fun(char *a,char…… 题解列表 2018年10月21日 0 点赞 0 评论 660 浏览 评分:0.0
蓝桥杯算法提高VIP-最长单词 (C语言代码) 摘要:解题思路:注意事项:思路看题解:编译提交是过不去的,估计是二维数组大小受限char【100000】【30】不行,100000,10可以不过思路都是这样,代码自己可以想怎么弥补这个缺陷。好啦,睡觉喽。各…… 题解列表 2018年09月27日 4 点赞 0 评论 1027 浏览 评分:0.0
蓝桥杯算法提高VIP-最长单词 (C语言代码) 摘要:#include "stdafx.h"#include "string.h"int main(){ int i,j=0, c1 = 0,c2=0; char str[100000] = { 0 }, …… 题解列表 2018年10月29日 1 点赞 0 评论 457 浏览 评分:0.0
蓝桥杯算法提高VIP-最长单词 (C++代码) 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <algorithm> #includ…… 题解列表 2018年11月01日 0 点赞 0 评论 644 浏览 评分:0.0
蓝桥杯算法提高VIP-最长单词 (C++代码) 摘要:#include<iostream> #include<string> #include<sstream> using namespace std; string s1,s2,s3; int…… 题解列表 2018年03月30日 1 点赞 0 评论 806 浏览 评分:0.0
蓝桥杯算法提高VIP-最长单词 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; import java.math.*; public class Main{ public static void ma…… 题解列表 2018年11月05日 0 点赞 0 评论 430 浏览 评分:0.0