摘要: 社交圈 又上网课了,离昆明场多了七天,现在还剩接近20天,抓紧补题了 题目 现在有 \(N\) 个人,每一个人都不想周围的人坐得离他很近,所以在他的左边要放$ L_i$ 张空椅子,右边要放 \(R_i\) 张空椅子,同时每个人自己要坐 \(1\) 张椅子。 现在他们要坐成若干个圈,请问最少要放多少张 阅读全文
posted @ 2022-03-29 11:20 seekerHeron 阅读(215) 评论(0) 推荐(0)
摘要: Prime Distance http://poj.org/problem?id=2689 #include<iostream> #include<cmath> #include<vector> #include<cstdio> #include<string.h> using namespace 阅读全文
posted @ 2022-03-29 00:24 seekerHeron 阅读(26) 评论(0) 推荐(0)