就是最简单能想到的那种拿到两个形状然后匹配。 但是有好多好多/*ID: modengd1PROG: starryLANG: C++*/#include #include #include #include using namespace std;struct pic{ pair LU; ...
分类:
其他好文 时间:
2015-10-05 20:39:37
阅读次数:
260
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:
其他好文 时间:
2015-10-05 19:31:56
阅读次数:
202
题目链接题意: 给出一张无向图,求割点的个数思路:非常裸的题目。直接套用模版就可以。代码:#include #include #include #include using namespace std;const int MAXN = 1005;struct Edge{ int to, nex...
分类:
Web程序 时间:
2015-10-05 19:31:49
阅读次数:
135
这是一个不完整的代码,但我实在是找不出问题在哪里了。求正解,,,,,using System.Windows.Forms;namespace 计算器{ public partial class Form1 : Form { public Form1() { ...
分类:
其他好文 时间:
2015-10-05 18:10:11
阅读次数:
112
题目意思为解码字符串,要输出第n个回文字符串,因为对称关系,前一半确定了,后一半也就跟着确定了,所以n其实就是前一半字符串的编码,还要减去1,直接解码出来再复制给后半即可 1 #include 2 #include 3 #include 4 5 using namespace std...
分类:
其他好文 时间:
2015-10-05 18:01:13
阅读次数:
118
一开始我把每个店主都拆成k个点,然后建图。。然后TLE。。看题解= =哦,愚钝了,k个商品是独立的,可以分别跑k次最小费用最大流,结果就是k次总和。。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6...
分类:
其他好文 时间:
2015-10-05 16:57:36
阅读次数:
208
水的问题。直接附着到代码。//poj 2041//sep9#include using namespace std;char mode[128];char ori[128],res[128];int len;void J(){ ori[0]=res[len-1]; for(int i=1;i='0....
分类:
其他好文 时间:
2015-10-05 16:55:39
阅读次数:
183
#include using namespace std;void Quicksort(int *a,int low,int high){ if(low>high) { return; } int i=low; int j=high; int key...
分类:
编程语言 时间:
2015-10-05 16:42:19
阅读次数:
200
使用NetworkReachability判断手机游戏当前的网络连接类型,是wifi还是234G 1 using UnityEngine; 2 using System.Collections; 3 4 public class Test : MonoBehaviour { 5 6 st...
分类:
编程语言 时间:
2015-10-05 15:35:13
阅读次数:
199
需求分析:10以内的四则运算应该是适用于1至3年级以内的小学生使用。能够随机测试。具体设计思路:这个以前我们用Java做过类似的练习,我用的是一个循环。然后再做一个大体的框架。然后就是具体的控制条件,比如说要在10以内,记录答题数量等等代码实现: using System;using Sys...
分类:
其他好文 时间:
2015-10-05 14:18:40
阅读次数:
210