欢迎来到天天文库
浏览记录
ID:57644235
大小:126.50 KB
页数:20页
时间:2020-08-30
《杭电oj语言习题.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、A+BforInput-OutputPractice(I)TimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):47895 AcceptedSubmission(s):27036ProblemDescriptionYourtaskistoCalculatea+b.Tooeasy?!Ofcourse!Ispeciallydesignedtheproblemforacmbeginners. Youmusthavefoundthatsomepro
2、blemshavethesametitleswiththisone,yes,alltheseproblemsweredesignedforthesameaim. InputTheinputwillconsistofaseriesofpairsofintegersaandb,separatedbyaspace,onepairofintegersperline. OutputForeachpairofinputintegersaandbyoushouldoutputthesumofaandbinoneline,andwithonelineofoutputforeachlinei
3、ninput. SampleInput151020 SampleOutput630 Authorlcy RecommendJGShining A+BforInput-OutputPractice(II)TimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):36310 AcceptedSubmission(s):24266ProblemDescriptionYourtaskistoCalculatea+b. InputInputcontai
4、nsanintegerNinthefirstline,andthenNlinesfollow.Eachlineconsistsofapairofintegersaandb,separatedbyaspace,onepairofintegersperline. OutputForeachpairofinputintegersaandbyoushouldoutputthesumofaandbinoneline,andwithonelineofoutputforeachlineininput. SampleInput2151020 SampleOutput630 Authorlcy
5、 RecommendJGShining A+BforInput-OutputPractice(III)TimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):43575 AcceptedSubmission(s):22341ProblemDescriptionYourtaskistoCalculatea+b. InputInputcontainsmultipletestcases.Eachtestcasecontainsapairofinte
6、gersaandb,onepairofintegersperline.Atestcasecontaining00terminatestheinputandthistestcaseisnottobeprocessed. OutputForeachpairofinputintegersaandbyoushouldoutputthesumofaandbinoneline,andwithonelineofoutputforeachlineininput. SampleInput15102000 SampleOutput630 Authorlcy RecommendJGShining
7、A+BforInput-OutputPractice(IV)TimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):38758 AcceptedSubmission(s):20860ProblemDescriptionYourtaskistoCalculatethesumofsomeintegers. InputInputcontainsmultiplet
此文档下载收益归作者所有