P1000 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y;while (scanf("%d%d",&x,&y)==2) printf("%d\n",x+y…… 题解列表 2018年01月14日 0 点赞 0 评论 788 浏览 评分:0.0
A+B的处理方式 摘要:解题思路:先考虑自然数的输入 —— input(),再考虑把input()所输入的数据最前端和最后变的多余空格进行删除处理 —— strip(),处理之后接着再按每个数据之间的空格进行分割、同时转换成…… 题解列表 2025年03月24日 1 点赞 0 评论 446 浏览 评分:0.0
C++ : 类和两种访问权限的练习 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std ;class sum{ priva…… 题解列表 2025年03月21日 1 点赞 0 评论 1187 浏览 评分:0.0
简单,易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,sum; scanf ("%d %d",&x,&y); sum=x+y; …… 题解列表 2024年12月03日 3 点赞 0 评论 800 浏览 评分:0.0
题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<…… 题解列表 2024年03月02日 0 点赞 0 评论 368 浏览 评分:0.0
题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<…… 题解列表 2023年11月25日 0 点赞 0 评论 136 浏览 评分:0.0
编写题解 1267: A+B Problem 摘要:import java.util.*;public class Main { public static void main(String [] args){ Scanner sc…… 题解列表 2023年11月20日 0 点赞 0 评论 171 浏览 评分:0.0
题解:1267: A+B Problem 摘要:解题思路:注意事项:不要打错参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<…… 题解列表 2023年11月01日 0 点赞 0 评论 168 浏览 评分:0.0
编写题解 1267: A+B Problem 摘要:解题思路:1、创建变量a,b2、输入变量3、输出a+b参考代码:#include<iostream> int main (){ int a,b; cin>>a>>b; …… 题解列表 2023年07月14日 0 点赞 0 评论 111 浏览 评分:0.0
编写题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); printf("%d\n",a…… 题解列表 2023年06月10日 0 点赞 0 评论 159 浏览 评分:0.0