多输入输出练习1(模拟) 摘要:解题思路:模拟注意事项:参考代码:#include<iostream>usingnamespacestd;intmain(){ int&…… 题解列表 2025年02月03日 0 点赞 0 评论 53 浏览 评分:0.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:import sys for str in sys.stdin: str=list(map(int,str.split())) max=0 …… 题解列表 2024年04月20日 0 点赞 0 评论 141 浏览 评分:0.0
c代码记录之多输入输出问题(important) 摘要:下方代码是把0算进比较的,系统也给过了,刚开始while漏了花括号,感谢雷兄一针见血。 后面写一个不把结尾0算进比较的代码 ```c #include int main() { i…… 题解列表 2023年11月30日 0 点赞 0 评论 144 浏览 评分:0.0
编写题解 1202: 多输入输出练习1(非常简单的方法一看就懂) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,max=0; while(scanf("%d",&a)==1) { if(a>max) m…… 题解列表 2023年11月15日 0 点赞 0 评论 117 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, max,num; while (scanf("%d", &n) != EOF) …… 题解列表 2023年06月21日 0 点赞 0 评论 108 浏览 评分:0.0
多次输入输出每行最大值python 摘要:解题思路:注意事项:输入可能会有点问题,所以在except后面加一个EOFError参考代码:while True: try: L = list(map(int,input().s…… 题解列表 2023年03月19日 0 点赞 0 评论 129 浏览 评分:0.0
编写题解 1202: 多输入输出练习1 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<malloc.h> int main() { int n; int j; j = 0; int…… 题解列表 2023年01月10日 0 点赞 0 评论 250 浏览 评分:9.9
1202: 多输入输出练习1 摘要:```cpp #include using namespace std; int main() { int x,max; while(cin>>x) { …… 题解列表 2023年01月01日 0 点赞 0 评论 195 浏览 评分:9.9
多输入输出练习1 摘要:# #include int main() { int x,max; while(scanf("%d",&x)!=EOF) { …… 题解列表 2022年12月28日 0 点赞 0 评论 192 浏览 评分:9.9
java 20行 基础循环与判断 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { int …… 题解列表 2022年10月06日 0 点赞 0 评论 94 浏览 评分:0.0