
模拟
文章平均质量分 64
老番茄酱
这个作者很懒,什么都没留下…
展开
-
次大值怎么求???
[CSPJX2019]次大值/*#include<bits/stdc++.h>#define maxn 200005using namespace std;template<class T>inline void read(T& a){ T x = 0, f = 1; char c = getchar(); while(!isdigit(c)){if(c == '-') f = -1; c = getchar();} while(isdigit(c)){x =原创 2020-11-05 11:35:29 · 911 阅读 · 0 评论 -
【英雄介绍】神箭游瞎
&nb.原创 2020-11-02 21:56:41 · 152 阅读 · 0 评论 -
火柴人打乒乓球
模拟退🔥法。原创 2020-08-13 20:11:10 · 1569 阅读 · 1 评论 -
亲,来蹭网,免费滴!
点击即可连接WIFI#include<bits/stdc++.h>using namespace std;int x, y, d, n, maxm, num, ans = 1, cross[170][170];signed main(){ cin >> d >> n; for(int i = 1; i <= n; i++) { cin >> x >> y; cin >&原创 2020-07-03 20:31:42 · 219 阅读 · 0 评论 -
奇怪的幻方又增加了
传说大禹治水的时候,水面上传来了一只神龟 龟背上有这样的图案这就是幻方の由来小学肆年级幻方奥数题库看完可以结合数形结合来食用更下饭#include<cstdio>#define re register#define f(i, a, b) for(re int i = a; i <= b; ++i)using namespace std;int n, ms[40][40], i, j;//magic squaresigned main(){ scanf("%原创 2020-06-23 21:41:35 · 225 阅读 · 1 评论 -
Toy Story番外片
点击即可观看#include<bits/stdc++.h>#define re register#define f(i, a, b) for(re int i = a; i <= b; i++)using namespace std;int n, m, a, s, now = 0;struct node{ string name; int head;}edge[100001];signed main(){ cin >> n >> m;原创 2020-06-18 21:22:43 · 280 阅读 · 0 评论 -
新·超级马里奥
游戏链接#include<bits/stdc++.h>using namespace std;int main() { printf( " ********\n" " ************\n" " ####....#.\n" " #..###.....##....\n" " ###.......####.原创 2020-06-18 19:22:19 · 258 阅读 · 0 评论 -
震惊!!!LEGO积木玩出名堂来了
题目链接看了各dalao的题解,才看懂TWT自己给自己写一篇题解,好让自己以后复习可以看懂[捂脸]如图,代码运行的过程大概是这个意思,大家可以意会一下[滑稽] #include<bits/stdc++.h>#define ll long long#define re register#define f(i, a, b) for(re int i = a; i <= b; ++i)using namespace std;int n, a, last, ans = 0;原创 2020-06-13 17:28:56 · 303 阅读 · 0 评论