institute

Anyang Institute of Technology Library Appointment

使用方式 在information中填入你的信息 在下午8点之前开启脚本 座位号填写:注意格式!{'一楼':['1A','1B','1C','1D'],'五楼':['05']}开头,位置和排开头写0几。如一楼C区四排三号:1C0403 停顿时间:5秒一次最为合适 图鉴打码平台: 注意事项: 代码运行 ......

* Codeforces Round 890 (Div. 2) supported by Constructor Institute B. Good Arrays

————哪有岁月安好,只是有人为你负重前行 给一个长为 $n$ 的数组 $a$ ,称一个数组 $b$ 是 $good$ 的如果满足以下条件: 1. $\forall i, a_i \neq b_i$ 2. $\sum_{i=1}^{n}a_i=\sum_{i=1}^{n}b_i$ 判断对于一个 $a ......

1141 PAT Ranking of Institutions(附测试点5分析)

题目: After each PAT, the PAT Center will announce the ranking of institutions based on their students' performances. Now you are asked to generate the ......
Institutions Ranking 1141 PAT of

Codeforces Round 890 (Div. 2) supported by Constructor Institute D. More Wrong(交互,分治)

题目链接:https://codeforces.com/contest/1856/problem/D 大致题意: 这是一道交互题,有1~n的排列p,对于每次询问,你可以花费(R-L)2的代价去得到区间【L,R】之内的逆序对的个数, 你需要在5n2的代价内得到n的位置。 初步思路: 首先我们来思路,在 ......

Codeforces Round 890 (Div. 2) supported by Constructor Institute A-E1

A n=50非常小 所以直接暴力枚举 枚举每次把某个数以下的全部减完 然后看一下是否上升就行 https://codeforces.com/contest/1856/submission/217275334 B题直接 贪心 前面优先放最小的 最后一个放最大的 然后如果重复了就到前面去看能不能调整一下 ......

Codeforces Round 890 (Div. 2) supported by Constructor Institute

# Preface 现在开始严格按照**双号上分法**来打CF了,大致就是每次比赛都拿两个号中分较少的那个打,这样可以保证两个号的最高分不降 然后昨天打完就后悔了,没有拿*hl666*那个号打导致没抓住难得的上分机会,本来可以打到橙名渡劫局的但分全加在*Kusanagi_Misuzu*那个号上了 不 ......

Codeforces Round 890 (Div. 2) supported by Constructor Institute ————C - To Become Max

关于这场div2,只能说一言难尽 C题可以二分的,赛时看到n 点击查看代码 ``` #include #define int long long using namespace std; const int N=1e6+7; int mod=1e9+7; int a[N]; int n,k; voi ......

Codeforces Round 890 (Div. 2) supported by Constructor Institute 题解

# A. Tales of a Sort 关键就是找逆序对 记一组逆序对下标为 $l,r$,则求出最大的 $a_l$ 即可 # B. Good Arrays 记要构造的 Good Array 为 $b$ 前置:$\forall 1\le i\le n,b_i=1$ 然后 $O(n)$ 扫一遍看一下有 ......
共8篇  :1/1页 首页上一页1下一页尾页