2012年11月15日

poj 3468 A Simple Problem with Integers

摘要: http://poj.org/problem?id=3468A Simple Problem with IntegersTime Limit: 5000MSMemory Limit: 131072KTotal Submissions: 38088Accepted: 11046Case Time Limit: 2000MSDescriptionYou have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given 阅读全文

posted @ 2012-11-15 22:19 仁者无敌8勇者无惧 阅读(188) 评论(0) 推荐(0) 编辑

hdu 1200 To and Fro

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1200水题。View Code 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include<string.h> 4 5 int main() 6 { 7 int n,i,len; 8 char str[210]; 9 while(~scanf("%d",&n),n)10 {11 //getchar();12 scanf("%s",str);13 len=strlen(... 阅读全文

posted @ 2012-11-15 00:36 仁者无敌8勇者无惧 阅读(134) 评论(0) 推荐(0) 编辑

导航