11 2013 档案

uva 10361 - Automatic Poetry
摘要:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1302这次又是没有通过,wawawawawawa,我要疯了,完全不知道错在哪里,感觉应该要把错误的测试数据告诉我们啊#include#include#includeusing namespace std;int main(){ int n; cin>>n; getchar(); string l1,l2; while(n--){ int start,end; ... 阅读全文

posted @ 2013-11-28 21:32 云在心 阅读(153) 评论(0) 推荐(0)

uva 10010 - Where's Waldorf?
摘要:题目地址http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=951这题并不是很难,要在8个方向上做判断,纯属量的问题,做了很多次测试,一直wa,不知道为什么,哎!#include#includeusing namespace std;int m,n;void searchWordlof(string a[],string s){ int x=51,y=51; for(int i=0;i=s.size()&&revtem 阅读全文

posted @ 2013-11-27 19:22 云在心 阅读(198) 评论(0) 推荐(0)

Uva 401 - Palindromes
摘要:题目地址http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=&problem=342&mosmsg=Submission+received+with+ID+虽然把代码写完了,也做了很多测试,还是wa,很心痛,有人能帮我看看代码错哪里吗#include#includeusing namespace std;char ref[100];void Init(){ ref['A']='A'; 阅读全文

posted @ 2013-11-26 21:23 云在心 阅读(195) 评论(1) 推荐(0)

uva start
摘要:最近在看刘汝佳写的《算法竞赛入门经典》做题网址http://uva.onlinejudge.org/index.php 阅读全文

posted @ 2013-11-26 21:00 云在心 阅读(145) 评论(0) 推荐(0)

导航