![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
UVa OJ --- AOAPC I:String
文章平均质量分 77
米蔓
这个作者很懒,什么都没留下…
展开
-
401 - Palindromes题解
#include #include #define MAXN 1010 char *origin = "AEHIJLMOSTUVWXYZ12358"; char *change = "A3HILJMO2TUVWXY51SEZ8"; bool is_palindrome(char *str) { int len = strlen(str); for(int i = 0; i <原创 2014-09-08 18:07:23 · 316 阅读 · 0 评论 -
424 Integer Inquiry题解
int main() { bign a; bign sum; while(true) { cin >> a; if(a.is_zero()) break; sum += a; } cout << sum << endl; }原创 2014-09-10 20:07:10 · 248 阅读 · 0 评论 -
10010 - Where's Waldorf?题解
#include #include #include using namespace std; int dir[8][2] = {{-1, -1}, {-1, 0}, {-1, 1}, {0, -1}, {0, 1}, {1, -1}, {1, 0}, {1, 1}}; char str[55][55]; char word[25][80]; bool search(char *s, int原创 2014-09-10 19:56:31 · 327 阅读 · 0 评论