![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
文章平均质量分 51
Ostrichcrab
这个作者很懒,什么都没留下…
展开
-
LeetCode-Add Two Numbers
You are given twonon-emptylinked lists representing two non-negative integers. The digits are stored inreverse orderand each of their nodes contain a single digit. Add the two numbers and return i...原创 2020-01-31 20:40:56 · 130 阅读 · 0 评论 -
poj 2632 Crashing Robots(模拟题)
Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 11637 Accepted: 4933DescriptionIn a modernized warehouse, robots are used to fetch the goods. Careful planning is needed to ensure that the ro...原创 2018-05-19 22:30:17 · 136 阅读 · 0 评论 -
第十一届河南ACM Gene mutation(模拟)
提交地址:点击打开链接Gene mutation is the sudden and inheritable mutation of genomic DNA molecules. From the molecular level, gene mutation refers to the change of the composition or sequence of base pairs in t...原创 2018-06-01 18:25:45 · 477 阅读 · 0 评论 -
51nod 1289 大鱼吃小鱼 栈模拟
就是用栈进行模拟,只有两条鱼相向而行才能进行相消操作,第一次写do-while循环条件写错了,wa一次。。#include<cstdio>#include<stack>using namespace std;const int maxn = 100003;struct point{ int a,b;}p[maxn];int main(){ stac...原创 2018-08-05 23:06:21 · 173 阅读 · 0 评论 -
ccf csp 201903-2 二十四点
#include<bits/stdc++.h>using namespace std;int n;void giao(int &n1, int &n2, int &n3, char &o1, char &o2){ if((o1 == '+' || o1 == '-') && (o2 == '+' || o2 ==...原创 2019-09-06 00:02:00 · 95 阅读 · 0 评论 -
ccf csp 201812-2 小明放学
因为不知道红绿灯顺序错了几次Orz#include<bits/stdc++.h>using namespace std;#define ll long longll r,y,g,n;//红绿灯顺序是红绿黄!!!void check(ll & t, ll a, ll b, ll mod){ if(a == 1)//r { ll t...原创 2019-09-08 15:25:41 · 155 阅读 · 0 评论