上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 97 下一页
摘要: Problem Description An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless ... 阅读全文
posted @ 2022-09-20 22:58 老程序员111 阅读(4) 评论(0) 推荐(0)
摘要: 2065:【例2.2】整数的和 时间限制: 1000 ms 内存限制: 65536 KB 提交数: 34527 通过数: 29553 【题目描述】 求3个整数的和。 输入a、b、c这3个整数,求它们的和。 【输入】 3个整... 阅读全文
posted @ 2022-09-20 22:58 老程序员111 阅读(178) 评论(0) 推荐(0)
摘要: Problem Description John has nn points on the X axis, and their coordinates are (x[i],0),(i=0,1,2,…,n−1) . He wants to know ho... 阅读全文
posted @ 2022-09-20 22:58 老程序员111 阅读(15) 评论(0) 推荐(0)
摘要: 【说明】转载于C++跑酷小游戏_蒟蒻一枚的博客-CSDN博客_c++跑酷小游戏 感谢@蒟蒻一枚 直接上代码 #include #include#include#include#include#define Nor if(B[b].x=28||By1-... 阅读全文
posted @ 2022-09-20 22:58 老程序员111 阅读(17971) 评论(0) 推荐(0)
摘要: Problem Description During the War of Resistance Against Japan, tunnel warfare was carried out extensively in the vast areas of... 阅读全文
posted @ 2022-09-20 22:58 老程序员111 阅读(9) 评论(0) 推荐(0)
摘要: 2064:【例2.1】交换值 时间限制: 1000 ms 内存限制: 65536 KB 提交数: 57012 通过数: 31142 【题目描述】 输入两个正整数a和b,试交换a、b的值(使a的值等于b,b的值等于a)。 【输入】... 阅读全文
posted @ 2022-09-20 22:58 老程序员111 阅读(229) 评论(0) 推荐(0)
摘要: Problem Description Signals of most probably extra-terrestrial origin have been received and digitalized by The Aeronautic and ... 阅读全文
posted @ 2022-09-20 22:58 老程序员111 阅读(10) 评论(0) 推荐(0)
摘要: 1005:地球人口承载力估计 时间限制: 1000 ms 内存限制: 65536 KB 提交数: 110297 通过数: 62346 【题目描述】 假设地球上的新生资源按恒定速度增长。照此测算,地球上现有资源加上... 阅读全文
posted @ 2022-09-20 22:58 老程序员111 阅读(457) 评论(0) 推荐(0)
摘要: 1004:字符三角形 时间限制: 1000 ms 内存限制: 66536 KB 提交数: 155250 通过数: 86073 【题目描述】 给定一个字符,用它构造一个底边长5个字符,高3个字符的等腰字符三角形。 ... 阅读全文
posted @ 2022-09-20 22:58 老程序员111 阅读(750) 评论(0) 推荐(0)
摘要: 【概述】 尺取法,顾名思义,就是像尺子一样一段一段的取,简单来说,尺取法就是返回推进区间开头和结尾,求满足条件的最小区间的方法。 一般在以下两种情况使用尺取法: 给定一个有序递增数组,在数组中找到满足条件的区间给定长度为 n 的数列以及整数 s,求出不小于 s... 阅读全文
posted @ 2022-09-20 22:58 老程序员111 阅读(34) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 97 下一页