- 2024-10-05T3 玄泡面求调
觉得模拟赛题解还是单独放出来比较好。A.挤压好像不难?二进制表示下的平方展开没推出来,不然就成简单题了。首先我们需要知道对于一个数\(x\),把它拆成29位的二进制形式后,用\(s_i\)表示二进制下第\(i\)位上的数,那么其实这个数就是\((\overline{s_{29}s_{28}...s_1s_0})_
- 2024-10-05有奖求调!!!
T3求调,12:00之前调成功悬一袋红烧牛肉面#include<bits/stdc++.h>#defineTypeint#defineqr(x)x=read()typedeflonglongll;usingnamespacestd;inlineTyperead(){charc=getchar();Typex=0;while(!isdigit(c))c=getchar();while(isdigit(c))x=(x
- 2024-09-26卡不过去了,求调
题TLE95#include<iostream>#include<map>#include<ext/pb_ds/assoc_container.hpp>#include<ext/pb_ds/hash_policy.hpp>#definelllonglong#pragmaGCCoptimize(5)#pragmaGCCoptimize("Ofast")constllN=5e3+10,p=1e9+7;
- 2024-06-20Railway HDU - 3394 求调
做个记录,如果有人愿意帮我调蒟蒻将感激不尽qwq#include<iostream>#include<iomanip>#include<cstdio>#include<vector>#include<stack>#include<queue>#include<bitset>#include<map>#include<set>#include<unorde