可以用数组的方式 摘要:解题思路:数组循环写入3个数字,输出第二个数字注意事项:参考代码:#include<stdio.h>int main(){ int a[3]; for(int i=0;i<3;i++) …… 题解列表 2024年01月15日 5 点赞 0 评论 1714 浏览 评分:9.9
1806一行解(Python) 解题思路:将sys.stdin的内容转换为列表形式后打印即可注意事项:参考代码:print(input().split()[1]) 题解列表 2023年05月30日 0 点赞 0 评论 810 浏览 评分:9.9
编写题解 1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; …… 题解列表 2024年06月09日 0 点赞 0 评论 1440 浏览 评分:9.9
编写题解 1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c…… 题解列表 2024年07月23日 0 点赞 0 评论 1869 浏览 评分:9.9
1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:输入三个正整数,取其第二个数字,即:a,b,c中的b注意事项:别输错数,别选错语言(C++)参考代码:#include<bits/stdc++.h> using namespace std…… 题解列表 2021年05月24日 0 点赞 0 评论 2492 浏览 评分:9.9
C++简单解法 摘要:#includeusing namespace std;int main(void){ int a,b,c; cin>>a>>b>>c; cout…… 题解列表 2025年02月28日 2 点赞 0 评论 1255 浏览 评分:10.0