CCPC | 首都客運時刻表查詢網
2019年1月26日—CCPC-WannaflyWinterCampDay7J-强壮的排列(打表)...,768627059,413858857,870766440,284149878,946609921,31441573,118902348,260961638 ...
题目[1] 思路来源mls
题解和前两天题很像
但是只有n方的做法
如果有n的做法回头再补
心得本来我们只能想到n方
后来5点多灵光乍现:要不我们打表
然后GG 这才发现自己连表都不会打
调了两个小时终于过了GG
代码长度爆了CE
开始尝试十六进制……三十六进制……七十三进制……
然后字符串开始MLE
后来一发行数减半的WA代码让我发现
只把奇数的存下来查询就好了啊……
然后就AC了……0ms的查询……
今天的焦急程度不亚于区域赛最后大家都过了就我们没过还debug不出来的烦躁
基础知识还是要稳啊
代码 #include <iostream> #include <fstream> #include <algorithm> #include <cstring> #include <cstdio> #include <cmath> #include <vector> #include <set> #include <queue> #include <bitset> using namespace std; typedef long long ll; const int MOD=998244353; const int maxn=1e5+10; int t; ll dp[maxn],inv[maxn],f[maxn]; void init1() { inv[1]=1; for(...
31441573時刻表 31441573時刻表 3 號 公車 時刻表 5911570時刻表 宜蘭轉運站時刻表 羅東轉運站時刻表 嘉義7315公車時刻表 新竹客運5665時刻表 5號公車時刻表台中 嘉義 客運 白河 時刻表
CCPC-Wannafly Winter Camp Day7 J | 首都客運時刻表查詢網
2019年1月27日 — 後來5點多靈光乍現:要不我們打表. 然後GG 這才發現自己連表都不會打 ... ,413858857,870766440,284149878,946609921,31441573,118902348,260961638 ... Read More
CCPC | 首都客運時刻表查詢網
2019年1月26日 — CCPC-Wannafly Winter Camp Day7 J-强壮的排列(打表) ... ,768627059,413858857,870766440,284149878,946609921,31441573,118902348,260961638 ... Read More
相關資訊整理