ACM简介与输入输出.pptxVIP

  • 7
  • 0
  • 约2.58千字
  • 约 83页
  • 2019-06-12 发布于山东
  • 举报
第一讲;ACM/ICPC简介; ACM-ICPC的历史可以上溯到1970年,首届比赛是在美国德克萨斯AM大学举办的。当时比赛的主办方是the Alpha Chapter of the UPE Computer Science Honor Society。作为一种全新的发现和培养计算机科学顶尖学生的方式,竞赛很快得到美国和加拿大各大学的积极响应。1977年,在ACM计算机科学会议期间举办了首次总决赛,并演变成为目前的一年一届的国际性比赛,迄今为止已经成功地举办了36届。 ??? ACM-ICPC最初几届的参赛队伍主要来自美国和加拿大,后来逐渐发展成为一项世界范围内的竞赛。自从ICPC等到了IBM等大型 IT公司的赞助之后,规模开始增长迅速。1997年,总共有来自560所大学的840支队伍参加了比赛,而到了2004年,这一数字迅速增加到840所大学的4109支队伍,并正在以每年10-20%的速度持续增长。迄今为止,已有来自六个大洲84个不同国家的1733所大学的顶尖学生??加了这项赛事。 ????? 从上世纪八十年代开始,ACM将ICPC的总部设在位于美国德克萨斯州的贝勒大学。???;我校参赛情况简介;第38届世界总决赛简介; 在大赛举办的早期,冠军多为美国或加拿大的大学获得。而进入上世纪九十年代后期以来, 俄罗斯和其它一些东欧国家的大学连夺数次冠军。;年份;2019/6/9;;2019/6/9;;;;;;;;;;;;;;;2019/6/9;29;;31;比赛规则;ACM-ICPC赛事结构;如何练习,提高编程能力;教材及辅导资料推荐;题目内容 已知正方形的边长,试编程求出其面积。 输入描述 输入不超过50个正整数的数据n (1=n=10000),每个正整数间以空格隔开。 输出描述 每次读入一个正整数,便输出其正方形的面积数,输出每个面积后再回车。 ;;初学者很常见的一种写法;有什么问题呢?;输入_第一类:读入一个参数 ;;说明:;例如:;参考源代码;本类输入解决方案:;读入两个参数;;参考源代码;输入_第二类;Problem Description Your task is to Calculate a + b. Input Input contains an integer N in the first line, and then N lines follow. Each line consists of a pair of integers a and b, separated by a space, one pair of integers per line. Output 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. Sample input: 2 1 5 10 20 Sample output: 6 30;Hdoj_1090源代码:;本类输入解决方案;输入_第三类;Problem Description Your task is to Calculate a + b. Input 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. Output 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. Sample input: 1 5 10 20 0 0 Sample output: 6 30;Hdoj_1091源代码:;本类输入解决方案;输入_第四类:;本类输入解决方案;说明;输出_第一类:;解决方案;输出_第二类;1095源代码;解决办法;典型例题讨论; 偏僻

文档评论(0)

1亿VIP精品文档

相关文档