摘要:
//---------------MY CODE-------------------------#include<iostream>#include<vector>#include<string>using namespace std;string get(string word){ for(int i = 1; i != word.size(); ++i) { ch... 阅读全文
摘要:
//---------------MY CODE-------------------------#include<iostream>#include<vector>#include<string>using namespace std;string get(string word){ for(int i = 1; i != word.size(); ++i) { ch... 阅读全文
摘要:
1 //--------------------C_Style---------------------- 2 3 #include<stdio.h> 4 #include<string.h> 5 const int maxn = 3000; 6 7 int get_next(int n) 8 { 9 char str[10];10 sprintf(str, "%d", n); //将%d的n转换成字符串存入到str中11 int size = strlen(str);12 for(int ix = 1; ix != size; ++ix) ... 阅读全文
|