简单的a+b (C语言代码) 摘要:#include<stdio.h>int main(void){ int a,b; bool i=true; while(i){ scanf("%d%d",&a,&b)…… 题解列表 2017年06月16日 1 点赞 0 评论 968 浏览 评分:3.0
简单的a+b(c++代码) 摘要:``` #include using namespace std; int main() { int a,b; while(cin >>a>>b) cout …… 题解列表 2021年12月09日 0 点赞 0 评论 464 浏览 评分:3.0
小白python系列-简单的a+b 摘要:解题思路:简单的a+b注意事项:我将其写成小白都学的会的那种参考代码:while True:try:a,b=map(int,input().strip().split())print(a+b)exce…… 题解列表 2025年07月30日 0 点赞 3 评论 755 浏览 评分:3.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; int b; while("%d %d",&a,&b)!=EOF) …… 题解列表 2017年08月20日 0 点赞 1 评论 833 浏览 评分:2.5
简单的a+b (C语言代码) 摘要:#include<stdio.h>int main(){ int i,a,b;i=0;scanf("%d,%d",a,b);i=a+b;printf("%d",i);}…… 题解列表 2017年06月20日 0 点赞 0 评论 1099 浏览 评分:2.0
简单的a+b (C语言代码) 摘要:#include <stdio.h>int main(void){ int a=0,b=0; while (scanf("%d%d",&a,&b)==2) //判断是否输…… 题解列表 2017年06月25日 0 点赞 0 评论 901 浏览 评分:2.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码include<stdio.h>include<stdlib.h>void main(){ int a,b; scanf ("%d%d",&a,&b); …… 题解列表 2017年09月23日 0 点赞 0 评论 615 浏览 评分:2.0
简单的a+b (C语言代码) 摘要:解题思路:利用 scanf 和 printf 具有返回值的特性,scanf() 函数返回成功读入的项目的个数,即 如果他没有读取到任何符合要求的项目返回值为 0,比如 要求输入整数用户输入字母;读取到…… 题解列表 2017年10月09日 2 点赞 0 评论 1201 浏览 评分:2.0
简单的a+b (C语言代码) 摘要:解题思路:首先要定义整型变量a和b,利用scanf()函数读取并赋值。注意事项:不能忘了&参考代码:#include <stdio.h>int main(void){ int a,b,sum…… 题解列表 2017年10月19日 0 点赞 0 评论 926 浏览 评分:2.0