T114048 [RC-02] yltx数对 (打表)
这题如果全部打表的话,文件大小会有65kb,超了,所以只打出一半,前一半用程序算就可以了,并不会超时。
如果算法优化的好,其实可以打的更少。
#include <bits/stdc++.h>
using namespace std;
const int maxn=1e5+10;
// const int N=1e4+10;
const int N=5e3+10;
int vis[ma...
原创
2020-02-06 15:23:50 ·
326 阅读 ·
0 评论