密码翻译(数组空间要100以上,注意)
摘要:参考代码:
```c
#include
#include
#include
int main()
{
char a[100];
gets(a);
int len=strlen(……
密码翻译(C++)简单实用
摘要:参考代码:#include <iostream>#include <string>using namespace std;string encrypt(const string& str) { ……
正则表达式解决字符串空格输入问题
摘要:解题思路:由于字符串中单词以空格隔开,我们可以用正则表达式配合scanf来解决空格的输入问题,比如scanf("%[^\n]",st……
题解 2854: 密码翻译
摘要:解题思路:这题目就很逆天啊,信心满满地提交,给我来个91分,尝试多次都没办法,豆包都崩溃了,还是不行。刚开始以为是输出格式的问题,结果搞了半天是数组长度的问题,数组长度设为80过不去,改大一点,比如1……