![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
POJ
Knight.Panda
ᕕ(˵•̀෴•́˵)ᕗ上分吗
展开
-
ANT POJ1852
题目一道考察想象力的题目————————————————min *每个蚂蚁都走到离自己最近的那个边 *max 每个蚂蚁走到离自己最远的边#include<cstdio>#include<algorithm>using namespace std;int main(){ int t,w; scanf("%d",&t); while(t--){ ...原创 2018-12-17 23:07:39 · 107 阅读 · 0 评论 -
Best Cow Line POJ 3617
题目1.这道题的话感觉字符的读入挺麻烦的2.循环那部分用了贪心,思想大概是取头尾,k+i,j -i,字典序比较#include&lt;stdio.h&gt; char a[2010];int main(){ int n,pd,cnt=0;while(~scanf("%d ",&amp;n)){ int i; for(i=0;i&lt;n;i++){ scan原创 2018-12-17 23:16:00 · 83 阅读 · 0 评论 -
Saruman's Army POJ3069
原创 2018-12-17 23:22:47 · 107 阅读 · 0 评论 -
Poj LAKe BDF
Lake counting原创 2018-12-23 22:41:44 · 94 阅读 · 0 评论 -
SOLDIERS 货仓选址
SOLDIERSTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 12995 Accepted: 4321DescriptionN soldiers of the land Gridland are randomly scattered around the country.A position in Gridland...原创 2019-09-06 21:38:37 · 112 阅读 · 0 评论