A+B for Input-Output Practice (I)-题解(C语言代码) 摘要: #include int main() { int a,b; while(~scanf("%d%d", &a, &b)) { printf("%d\n",a+b);…… 题解列表 2020年02月06日 0 点赞 0 评论 347 浏览 评分:0.0
A+B for Input-Output Practice (I)-题解(C++代码) 摘要:解题思路: 为避免题目可能的一些坑(比如输入数字大于int表示的范围),特地使用了long long int注意事项: #define 语句 可以 将代码中 LL 换成 l…… 题解列表 2020年09月10日 0 点赞 0 评论 352 浏览 评分:0.0
A+B for Input-Output Practice (I) 题解 摘要:解题思路:不就是加法嘛!弄了个英文就不会了?注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a,b;int main(){ …… 题解列表 2022年05月07日 0 点赞 0 评论 166 浏览 评分:0.0
A+B for Input-Output Practice (I) 摘要:解题思路:EOF表示为文件结束符注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while (scanf("%d %d",&a,&b)!=E…… 题解列表 2022年11月01日 0 点赞 0 评论 77 浏览 评分:0.0
A+B for Input-Output Practice (I) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) cou…… 题解列表 2024年03月07日 0 点赞 0 评论 186 浏览 评分:0.0
A+B for Input-Output Practice (I) (C语言代码) 摘要:解题思路:注意事项:这题不是一次性输入和一次性输出参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d %d", &a, &…… 题解列表 2018年04月10日 0 点赞 0 评论 518 浏览 评分:0.0
A+B for Input-Output Practice (I)-题解(Java代码) 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { Scann…… 题解列表 2020年03月17日 0 点赞 0 评论 350 浏览 评分:0.0
A+B for Input-Output Practice (I)-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a,b; while(~scanf("%d%d", &a, &b))prin…… 题解列表 2021年01月30日 0 点赞 0 评论 162 浏览 评分:0.0
A+B for Input-Output Practice (I) (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] arg…… 题解列表 2018年07月22日 0 点赞 0 评论 454 浏览 评分:0.0
A+B for Input-Output Practice (I) (C语言代码)水题 摘要:解题思路:无注意事项:无参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF) { printf("%d…… 题解列表 2019年05月18日 0 点赞 0 评论 366 浏览 评分:0.0