1000: [竞赛入门]简单的a+b 摘要:解题思路:注意事项:其实直接提交就好,源代码就是1000的题解参考代码:#include<iostream>using namespace std;int main(){ int a,b; …… 题解列表 2023年11月03日 0 点赞 0 评论 109 浏览 评分:0.0
[竞赛入门]简单的a+b-题解(C语言代码) 摘要:解题思路:注意事项:注意多组测试,可以用while参考代码:#include int main() { int a,b; while(scanf("%d%d",&a,&b)!=EOF) pr…… 题解列表 2020年12月14日 0 点赞 0 评论 288 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:利用scanf函数进行输入值,同时使用while语句循环,来达到多次计算。注意事项:注意scanf中&符号。参考代码:while scanf printf#include<stdio.h>v…… 题解列表 2018年11月14日 0 点赞 0 评论 295 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int a,b; scanf("%d %d",&a,&b); printf("%d\n",a+b);}…… 题解列表 2018年01月21日 0 点赞 0 评论 861 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int a, b; while( scanf("%d%d",&a,&b)==2 ) { p…… 题解列表 2018年06月13日 0 点赞 0 评论 440 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF) printf("%d…… 题解列表 2018年03月13日 0 点赞 0 评论 694 浏览 评分:0.0
[竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,b;int main(){ while(cin>>a>…… 题解列表 2022年05月09日 0 点赞 0 评论 97 浏览 评分:0.0
note an easy problem2 摘要:哈哈哈#includeint main(){ int strcpy_my(int n, char c[], int m); int n, m; char a[100]; sca…… 题解列表 2021年02月15日 0 点赞 1 评论 287 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main{int a,b;scanf("%d%d",&a,&b)printf("%d",a+b);return 0;}…… 题解列表 2018年11月17日 0 点赞 0 评论 272 浏览 评分:0.0