摘要: 题目链接:http://59.69.128.200/JudgeOnline/problem.php?pid=308#include <iostream>#include <cstring>using namespace std;#define Max_len 1000char sz1[Max_len];char sz2[Max_len];int maxlen[Max_len][Max_len];int main(){ int i,j,n,k1,k2; cin>>n; while (n--) { memset(sz1,'\0',sizeof(s 阅读全文
posted @ 2011-05-24 21:16 我们一直在努力 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 题目大意,数字转换(26)注意细节数字到字母时 要特别注意整除的情况加个公式处理数字到字母 (n-1)%26+1;n=(n-1)/26;题目链接:http://59.69.128.200/JudgeOnline/problem.php?pid=303View Code 1 #include <iostream> 2 #include <cstring> 3 usingnamespace std; 4 int main() 5 { 6 int i,j,n,len,k,sum,m; 7 char a[1000]; 8 char b[1000]; 9 char c;10 ci 阅读全文
posted @ 2011-05-24 18:44 我们一直在努力 阅读(175) 评论(0) 推荐(0) 编辑