03 2020 档案
摘要:题目链接:1316F - Battalion Strength 题目大意:对于一个序列\(\left \{ a_n \right \}\),定义其权值为,将其排序后,\(\sum_{i=1}^{n-1}a_i\cdot a_{i+1}\)的值。现在给出一个数组,要求每次修改其中一个位置的值,并求出修
阅读全文
摘要:小号冲黄失败...心塞塞_(:з」∠)_ 1316A - Grade Allocation \(ans=min(m,\sum_{i=1}^n a_i)\) #include<bits/stdc++.h> using namespace std; int T,n,m,a[1111]; int main
阅读全文
摘要:这场迅速签到后就被F题给教育了...挂机了足足有80+min_(:з」∠)_还是要提高下自己的姿势水平 1305A - Kuroni and the Gifts 将两个数组分别排序后输出即可 #include<bits/stdc++.h> using namespace std; #define N
阅读全文
摘要:678A - Johny Likes Numbers 20171130 简单数学题,注意是严格大于就好了 #include<stdlib.h> #include<stdio.h> #include<math.h> #include<cstring> #include<iostream> #inclu
阅读全文
摘要:665A - Buses Between Cities 20171129 奇奇怪怪的小数学题...推推式子就好了,边界情况比较蛋疼 #include<stdlib.h> #include<stdio.h> #include<math.h> #include<cstring> #include<ios
阅读全文
摘要:这个东西已经咕咕咕了快一年的时间,想想昨天校内训练差点被学弟们爆锤,真是怠惰啊..._(:з」∠)_ 从开始刷教育轮的蓝名水平,到“Educational Round补完计划”开启时的紫名中游水平,再到现在个人水平也游到了黄名中下游,应该是不需要用狂刷div2的水题来提升自我了,不过既然当初挖了这个
阅读全文
摘要:题目链接:1320C - World of Darkraft: Battle for Azathoth/1321E - World of Darkraft: Battle for Azathoth 题目大意:有\(n\)种剑,每种有对应的攻击值和价格、\(m\)种盾,每种有对应的防御值和价格。以及\
阅读全文

浙公网安备 33010602011771号