题解列表

筛选

字符串组的使用

摘要:解题思路:注意事项:参考代码:# include <stdio.h># include <string.h>int main (){    int n;    scanf ("%d",&n);    ……

简单利润计算

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or ……

1093: 字符逆序 python

摘要:解题思路:注意事项:参考代码:l = list(input)for i in l[::-1]:print(i,end=&#39;&#39;)……

一个getline实现(字符串输入流构造分割函数)C++实现

解题思路:分开两组进行输入,使用字符串输入流istringstream构造输入流对字符进行分割,做一个相当于Java和python里面的split函数一样的函数对字符进行分割。注意事项:注意每个数据之间还有空行,我一开始就是前两行只输出了一个换行,

蓝桥杯基础练习VIP-Sine之舞

摘要:解题思路:递归调用输出注意事项:参考代码:#include <stdio.h>void An(int n){   int i;   for(i = 1; i < n; i ++){          ……

题解 1461: FJ的字符串

摘要:解题思路:递归调用输出注意事项:参考代码:#include<stdio.h>void shuchu(int n){    if(n==1)        printf("%c",&#39;A&#39;……