题解列表
[编程入门]自定义函数之字符串连接
摘要:解题思路:这题是1032,除了最简单的strcat()使用外,我提供了一个与1031类似思路的解题方法,即用指针作为函数的返回值。注意事项:这个方法比较麻烦,本人是拿来对第1031题学到的知识进行巩固……
3131: 病毒(virus)
摘要:```cpp
#include
#include
#include
#include
using namespace std;
int n,cnt,in[50001],ans[50001]……
编写题解 1202: 多输入输出练习1
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<malloc.h>
int main()
{
int n;
int j;
j = 0;
int……
2864: 单词替换
摘要:```cpp
#include
#include
using namespace std;
int main()
{
int n=0;
char s[101][101];……
3067: 大盗阿福
摘要:小心超时
```cpp
#include
using namespace std;
int w[100001],f[100001][2],n,T;
int main()
{
io……
2009: 第一个带类的C++程序
摘要:```cpp
#include
using namespace std;
class Date
{
private:
int year,month,day;
……
1779: 你的第一个C语言程序
摘要:直接把输出内容粘贴上去就行了(打表)
```cpp
#include
using namespace std;
int main()
{
cout……
1536: 蓝桥杯算法提高VIP-最长单词
摘要:```cpp
#include
using namespace std;
int main()
{
int t=0;
string s,v;
char a[101……