Nice boatTime Limit: 30000/15000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1038Accepted Submission(s): 465Proble...
分类:
其他好文 时间:
2014-08-01 22:45:52
阅读次数:
301
Public SaleTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3978Accepted Submission(s): 2424Problem...
分类:
其他好文 时间:
2014-08-01 22:45:43
阅读次数:
177
#include using namespace std;int a[1000];int f(int n){ int k=0; while(n) { a[k++]=n%2; n/=2; } return k;}int main(int argc, char *argv[]){ int n,m,...
分类:
其他好文 时间:
2014-08-01 22:45:22
阅读次数:
248
题意:给定一些大小关系,把关系从大到小排序,如果有多种相同关系就按字典序排序。例如 x #include#include#includeconst int maxn = 200;char var[maxn];char ans[maxn];char st[maxn];int map[maxn][max...
分类:
其他好文 时间:
2014-08-01 22:45:02
阅读次数:
192
此题略坑- -电话号码到第三页才开始记录- -所幸发现得早没有WA- -#include "stdio.h"#include "string.h"int main(){ int ans=0,i,k,n,tmp,cnt[10]; memset(cnt,0,sizeof(cnt)); scanf("%d...
分类:
其他好文 时间:
2014-08-01 22:44:52
阅读次数:
211
CollidersTime Limit: 2000msMemory Limit: 262144KBThis problem will be judged onCodeForces. Original ID:155D64-bit integer IO format:%I64d Java class n...
分类:
其他好文 时间:
2014-08-01 22:44:42
阅读次数:
357
该来的总是要来的————————经典问题,石子合并。 对于 f[i][j]= min{f[i][k]+f[k+1][j]+w[i][j]}From 黑书凸四边形不等式:w[a][c]+w[b][d]#include #define N 1005int s[N][N],f[N][N],sum[N],....
分类:
其他好文 时间:
2014-08-01 22:44:12
阅读次数:
305
QuicksumTime Limit: 2 Seconds Memory Limit: 65536 KBA checksum is an algorithm that scans a packet of data and returns a single number. The idea is...
分类:
其他好文 时间:
2014-08-01 22:43:32
阅读次数:
333
ctrl +z 的使用#includeusing namespace std; main(){ int num,sum=0; while(cin>>num) { sum+=num; } cout u...
分类:
其他好文 时间:
2014-08-01 22:43:12
阅读次数:
204
Introducing the load-balancing feature with Pacemaker. Pacemaker allows you to perform load-balancing mecanism thanks to the IPaddr2 resource agent. T...
分类:
其他好文 时间:
2014-08-01 22:43:02
阅读次数:
670
using UnityEngine;using System.Collections; public class NPC : MonoBehaviour { //主摄像机对象 private Camera camera; //NPC名称 private string nam...
分类:
其他好文 时间:
2014-08-01 22:42:52
阅读次数:
176
本文介绍对象的强、软、弱和虚引用的概念、应用及其在UML中的表示。1.对象的强、软、弱和虚引用 在JDK 1.2曾经的版本号中,若一个对象不被不论什么变量引用,那么程序就无法再使用这个对象。也就是说,仅仅有对象处于可触及(reachable)状态,程序才干使用它。从JDK 1.2版本号開始,把对象的...
分类:
其他好文 时间:
2014-08-01 22:42:42
阅读次数:
304
Mule入门文档零、前提在按照本文进行操作之前,假设您的系统已经具备以下前提:已经安装了Sun公司的JDK1.4或JDK5.0版本,推荐使用JDK5.0。正确设置了JAVA_HOME环境变量到JDK目录(注意不是JRE目录)。确保%JAVA_HOME%\bin路径在系统寻找路径中。安装有Eclips...
分类:
其他好文 时间:
2014-08-01 22:42:22
阅读次数:
259
Text JustificationGiven an array of words and a lengthL, format the text such that each line has exactlyLcharacters and is fully (left and right) just...
分类:
其他好文 时间:
2014-08-01 22:42:02
阅读次数:
324
一、问题的提出注意到表单中action:getPostServlet/getPost.do?param4=param4这个action带有一个参数param4,如果用get方法提交,后台无法接收到这个参数;如果用post方法提交,后台就可以接收到这个参数。问题原因的简单解释:用get方法提交的url...
分类:
其他好文 时间:
2014-08-01 22:41:52
阅读次数:
216
windows7 64位 搭建cocos2dx 版本开发环境目前cocos2dx分为2.x版本和3.x版本,搭建环境稍有不同先搭建3.1版本win32开发环境相关准备:注意:安装路径尽可能不要有中文cocos2d-x-3.1Visual Studio - vs 2012及以上, 低级的不支持Pyth...
分类:
其他好文 时间:
2014-08-01 22:41:12
阅读次数:
428
In this challenge you need to print the data that accompanies each integer in a list. In addition, if two strings have the same integers, you need to ...
分类:
其他好文 时间:
2014-08-01 22:40:42
阅读次数:
323