1202: 多输入输出练习1 摘要:#include <bits/stdc++.h> using namespace std; //以空格为分隔符分割字符串 vector<int> split(const string &s,…… 题解列表 2022年01月01日 0 点赞 0 评论 467 浏览 评分:0.0
Hifipsysta-1202-多输入输出练习1(C++代码) ```cpp#include#include#includeusingnamespacestd;boolarrange_rule(inta,intb){returna>b;}intmain(){vectorvect;intval;while(cin>>val){vect.push_back(val); 题解列表 2022年02月05日 0 点赞 0 评论 489 浏览 评分:0.0
1202: 多输入输出练习1 摘要:解题思路:注意事项:参考代码:while True: try: l=list(map(int,input().split())) h=[] …… 题解列表 2022年02月12日 0 点赞 0 评论 649 浏览 评分:6.0
看错题目,以为又是一个文本整个内容输入,他这个是一行一行输入的数据, 摘要:#include<stdio.h> #include<string.h> #include<malloc.h> #include<stdlib.h> #include<ctype.h> in…… 题解列表 2022年03月06日 0 点赞 0 评论 470 浏览 评分:0.0
编写题解 1202: 多输入输出练习1 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int max = 0; while(…… 题解列表 2022年03月28日 0 点赞 0 评论 436 浏览 评分:0.0
1202: 多输入输出练习1(20行) (不调API纯算法) ( 不用类型转换) ```java对于这道题,就是只要找出一行中最大的数,我们只需要将最大的数放在一个变量(max)中,在循环中遇到更大的覆盖既可循环中出现的i变量是为了初始化max,也就是默认第一个输入的数为最大值max,然后再去和后面输入的数据进行比较。最后要记得将变量i的值赋值为0,目的是为下次循环做准备。 题解列表 2022年05月12日 0 点赞 0 评论 887 浏览 评分:9.9
java 20行 基础循环与判断 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { int …… 题解列表 2022年10月06日 0 点赞 0 评论 526 浏览 评分:0.0
多输入输出练习1 摘要:# #include int main() { int x,max; while(scanf("%d",&x)!=EOF) { …… 题解列表 2022年12月28日 0 点赞 0 评论 626 浏览 评分:9.9
1202: 多输入输出练习1 摘要:```cpp #include using namespace std; int main() { int x,max; while(cin>>x) { …… 题解列表 2023年01月01日 0 点赞 0 评论 659 浏览 评分:9.9
编写题解 1202: 多输入输出练习1 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<malloc.h> int main() { int n; int j; j = 0; int…… 题解列表 2023年01月10日 0 点赞 0 评论 712 浏览 评分:9.9