#include <stdio.h> #include <stdlib.h> typedef struct Node { int data; struct Node *next; }LNode,*LinkList; void construt(int temp,struct Node *head) { struct Node *cycle; cycle = head; while(temp--) { cycle->next = (struct Node*)malloc(siz…
#include <stdio.h>#include <stdlib.h> #define SIZE   20//1左 偶 typedef struct hold{ int sign[SIZE]; int top1,top2; } HOLD;int main(){ HOLD example; int loop,cycle; int in;  int log = 0; example.top2 = 9; example.top1 = 0; scanf("%d",&…
#include <stdio.h>#include <stdlib.h> #define SIZE   20 typedef struct hold{ char sign[SIZE]; int top;} HOLD;int main(){ HOLD example; int temp; int number;     scanf("%d",&number); for(example.top = 0;example.top < number ;ex…
The Android University ACM Team Selection Contest Time Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述  Now it's 20000 A.D., and the androids also participate in the ACM Inter-national Collegiate Programming Contest (ACM/ICPC). In order to sele…
一.公司简介山东森普信息技术有限公司(以下简称森普软件)是一家专门致力于移动互联网产品.企业管理软件定制开发的技术型企业.公司总部设在全国五大软件园之一的济南齐鲁软件园.森普SimPro是由Simple+Professional组成,代表着公司一直秉承"森普,专业让管理更简单"的核心理念,致力于为广大的企业.政府客户提供操作简单.功能全面.技术专业的各种信息化产品及技术咨询服务.公司自2003年成立以来培养出了一支高素质,高水平,高专业,经验丰富的IT团队,并通过ISO9001认证(证…
Contest Problem Description In the ACM International Collegiate Programming Contest, each team consist of three students. And the teams are given 5 hours to solve between 8 and 12 programming problems. On Mars, there is programming contest, too. Each…
 B Stealing Harry Potter's Precious 题目大意:给定一个n*m的地图,某些点可以走,某些点可以走某些点不可以走,给定一个起点,又给出了k个点k<=4,要求从起点经过K个点最短的长度是多少 思路:给每个点标定状态为[x][y][state],state是压缩状态的已经走过需要走过点的集合,然后bfs一下即可 #include<cstdio> #include<queue> #include<cstring> #define maxn…
引用 http://baike.baidu.com/link?url=z_phkcEO4_HjFG_Lt163dGFAubdb68IbfcfzWscTOrrZ55WbJEQKzyMQ5eMQKyatDYyY7lK3_TjQGlncSEj6G5W3nxn8P8UR2S8vymnRddi ACM程序不算软件,软件=程序+数据+文档,他们的显然只有程序,顶多还有数据,但是没有文档. 写程序和做软件是不一样的,程序就仅仅是代码而已,软件还有文档,数据.做软件需要做需求分析,概要设计等一系列流程,过程之后…
The Best Seat in ACM Contest Time Limit: 1000MS Memory limit: 65536K 题目描述 Cainiao is a university student who loves ACM contest very much. It is a festival for him once when he attends ACM Asia Regional Contest because he always can find some famous…
题目描述 Cainiao is a university student who loves ACM contest very much. It is a festival for him once when he attends ACM Asia Regional Contest because he always can find some famous ACMers there. Cainiao attended Asia Regional Contest Fuzhou Site on N…