c++找最大数序列 摘要:解题思路: 选取字符串中数字将其排除二维数组,并将二维数组中各个最大值放入一个一维数组中。再在一维数组中取出最大值。注意事项: 使用isdigit(c)判断是否数字。 #includ…… 题解列表 2024年12月30日 0 点赞 0 评论 744 浏览 评分:0.0
找最大数序列 摘要:参考代码: ```c #include #include int main() { int n; scanf("%d",&n); int max[n]; for(int i=…… 题解列表 2023年10月30日 0 点赞 0 评论 697 浏览 评分:0.0
2910: 找最大数序列 ```cpp#includeusingnamespacestd;intmain(){intn,i,x,a[31],mark=0,max=-1;boolfirst=true;charch;cin>>n;for(i=0;i>x;ch=getchar();while(ch==', 题解列表 2023年01月12日 0 点赞 0 评论 583 浏览 评分:9.9
编写题解 2910: 找最大数序列 C 摘要:解题思路:输入的判断当中,要区分ch是否是',',如果是的话要继续在此行输入,如果不是则换行注意事项:定义最大值的时候,把几行都找出来,要i+1参考代码:#include <stdio…… 题解列表 2022年10月22日 1 点赞 0 评论 797 浏览 评分:9.9