留念 C - 志愿者 排序..按照题目规则说的排就可以.wa了两发我太菜了qwq #include<bits/stdc++.h> using namespace std; const int MAXN = 1e6 + 10; inline int read() { char c = getchar(); int x = 0, f = 1; while(c < '0' || c > '9') {if(c == '-') f = -1; c = getchar();} while(c…
目录 A B C D E F G 今年题目难度普遍偏低.只有 D,F 还好. A 按题目给的公式计算即可.注意应在最后的答案中去掉小数部分. B 按照题意模拟即可.注意答案要与 \(0\) 取 \(\max\) . C 按照题意模拟即可.注意应该先做乘法在做除法,或者把后面的值用 double 或 float 数据类型的变量存储,并在最后去掉小数部分. 时间复杂度 \(\mathcal O(n)\). D 设 \(x \oplus y = p\) ,则 \(x \oplus p = y\).因此…
web ez_checkin 进去看了一会,啥也没找到,直接上dirsearch 扫到一个index.php~,打开看一看,是php审计 <?php error_reporting(0); include "flag.php"; echo "Come and hack me"; if (isset($_GET["param1"])){ if ($_GET["param1"] == hash("md4"…
比赛链接:http://acm-software.hrbust.edu.cn/contest.php?cid=1082 A.好SB啊真是,还以为lis-数有多少个数不一样. #include <bits/stdc++.h> using namespace std; typedef long long LL; ; int ret; int n; set<int> s; int main() { // freopen("in", "r", std…