网页资讯视频图片知道文库贴吧地图采购
进入贴吧全吧搜索

 
 
 
日一二三四五六
       
       
       
       
       
       

签到排名:今日本吧第个签到,

本吧因你更精彩,明天继续来努力!

本吧签到人数:0

一键签到
成为超级会员,使用一键签到
一键签到
本月漏签0次!
0
成为超级会员,赠送8张补签卡
如何使用?
点击日历上漏签日期,即可进行补签。
连续签到:天  累计签到:天
0
超级会员单次开通12个月以上,赠送连续签到卡3张
使用连续签到卡
10月12日漏签0天
c语言吧 关注:800,112贴子:4,365,425
  • 看贴

  • 图片

  • 吧主推荐

  • 视频

  • 游戏

  • 9回复贴,共1页
<<返回c语言吧
>0< 加载中...

[1010]A+B for Input-Output Practice (I)--acm答案

  • 只看楼主
  • 收藏

  • 回复
  • 第第第四维
  • 低能力者
    5
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
题目描述
Your task is to Calculate a + b.
Too easy?! Of course! I specially designed the problem for acm beginners.
You must have found that some problems have the same titles with this one, yes, all these problems were designed for the same aim
输入
The input will consist of a series of pairs of integers a and b, separated by a space, one pair of integers per line.
输出
For each pair of input integers a and b you should output the sum of a and b in one line, and with one line of output for each line in input.
示例输入
1 510 20
示例输出
630
Answer:
http://www.d4v.com.cn/program/c/1010ab-for-input-output-practice-i.html
Www.d4v.com.cn||Code Dimension.I


  • 第第第四维
  • 低能力者
    5
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
为acm而生~


2025-10-12 04:06:15
广告
不感兴趣
开通SVIP免广告
  • 第第第四维
  • 低能力者
    5
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
acm答案在更新中,欢迎大家参与其中……~


  • 第第第四维
  • 低能力者
    5
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
[1011]A+B for Input-Output Practice (II)
题目描述
Your task is to Calculate a + b.
输入
Your task is to Calculate a + b.
输出
For each pair of input integers a and b you should output the sum of a and b in one line, and with one line of output for each line in input.
示例输入
21 510 20
示例输出
630
Answer:
http://www.d4v.com.cn/program/c/acm-oj/1011ab-for-input-output-practice-ii.htmlI


  • 第第第四维
  • 低能力者
    5
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
[1012]A+B for Input-Output Practice (III)
题目描述
Your task is to Calculate a + b.
输入
Input contains multiple test cases. Each test case contains a pair of integers a and b, one pair of integers per line. A test case containing 0 0 terminates the input and this test case is not to be processed.
输出
For each pair of input integers a and b you should output the sum of a and b in one line, and with one line of output for each line in input.
示例输入
1 510 200 0
示例输出
630
Answer:
http://www.d4v.com.cn/program/c/ab-for-input-output-practice-iii.htmlI


  • 雾香_楼兰
  • 帕秋莉糕
    12
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
该不该按广告处理掉呢。


  • xiaozhangdebai
  • 强能力者
    7
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
像广告新网站?


登录百度账号

扫二维码下载贴吧客户端

下载贴吧APP
看高清直播、视频!
  • 贴吧页面意见反馈
  • 违规贴吧举报反馈通道
  • 贴吧违规信息处理公示
  • 9回复贴,共1页
<<返回c语言吧
分享到:
©2025 Baidu贴吧协议|隐私政策|吧主制度|意见反馈|网络谣言警示