1
for(int i=1;i<=maxn;i++)f[i]=i;2
fir(i, 1, n){
fir(k, i + 1, n){
fir(j, 1, n) dis[i][k] = dis[k][i] = min(dis[i][k], dis[i][j] + dis[j][k]);
}
}#include<bits/stdc++.h>
using namespace std;
#define fir(i, l, r) for(int i = l; i <= r; i++)
#define fpr(i, r, l) for(int i = r; i >= l; i--)
#define full(v) v.begin(), v.end()
#define endl '\n'
signed main(){
ios :: sync_with_stdio(0);
cin.tie(0), cout.tie(0);
// freopen(".in", "r", stdin);
// freopen(".out", "w", stdout);
return 0;
}
小号:
Undefined_01
worstart
推狮子:https://scanmath.com/zhs/calculator/simplify-calculator
https://www.luogu.com.cn/record/223760941
struct _hash{
static long long splitmix64(long long x) {
x+=0x9e3779b97f4a7c15;
x=(x^(x>>30))*0xbf58476d1ce4e5b;
x=(x^(x>>27))*0x94d049bb133111eb;
return x^(x>>31);
}
size_t operator()(long long x) const {
static const long long fr=__builtin_ia32_rdtsc();
return splitmix64(x+fr);
}
};
using namespace __gnu_pbds;
gp_hash_table<long long, long long, _hash, std::equal_to<long long>,
direct_mask_range_hashing<>,
linear_probe_fn<>,
hash_standard_resize_policy<
hash_exponential_size_policy<>,
hash_load_check_resize_trigger<>
>
> vis(_hash(), std::equal_to<long long>(), direct_mask_range_hashing<>(), linear_probe_fn<>(), hash_standard_resize_policy<hash_exponential_size_policy<>, hash_load_check_resize_trigger<> >(hash_exponential_size_policy<>(), hash_load_check_resize_trigger<>(0.25, 0.85)));mt19937 rngdle(chrono::system_clock::now().time_since_epoch().count());除了 UOJ #1010 都在这里了。
卡常记录:
最长代码(Maybe)
1k 通过: [NOISG 2021 Qualification] Competition
https://www.youxiaohou.com/tool/install-darkmode.html#?-助手效果
https://dash.infinityfree.com/accounts/if0_40926782
Hints
账号和密码
| website | password | name |
|---|---|---|
| 洛谷 | A+S | zhangruixiang |
| hydro | A | _zhangrx_ |
| cf | B | zhangruixiang |
| at | A | zhangruixiang |
| QOJ | B | cute_zhangrx |
| SPOJ | B | zhangrx |
同理,家长也会用付费对产品表示支持
猛攻 ▄︻┻┳══━ = = = = = = = =
https://www.luogu.com.cn/team/77348#main
markdown & KaTex 区
相关问题并非是洛谷平台问题,请自行检查您的关联对象或设备是否存在故障。
工单所说的是完全没有道理,或不需要考虑的东西,请不要再次提交类似工单。如果再出现这种情况创建者可能将被禁言。
task_acc
lglg主页
clist主页
cnblogs
宣团宣团
https://amzcd.top/files/ex-oiso.min.user.js
https://ollama.ruanmao.net/
来访人数:








