题解列表

筛选

c++解题思路

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a,b,c;    cin >> a;    cin >……

我是大厦必

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){    for(int i=100;i<=999;i++)    {       ……

c++解题思路

摘要:解题思路:注意事项:参考代码:#include<iosteream>using namespace std;int main(){   int a,b;   cin >>a;   cin >>b;  ……

一个彩币的做法

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

函数彩笔一个

摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct ji{  char num[100],na[100];  int s[3];};void input(struct ji ……

【Python题解】蓝桥杯基础练习VIP-完美的代价

摘要:# 解题思路 本题利用双指针,其中头指针 `head` 从前向后遍历,尾指针 `tail` 从后向前遍历。 **退出循环的条件:** 1. 字符串长度为偶数,但是有频数为奇数的字母 2. ……

【Python题解】ISBN码

摘要:# 解题思路 整体思路比较简单,注意如果为10,将其转换为X,具体实现看代码: # 参考代码 ```python while True: try: # raw ……

1031: [编程入门]自定义函数之字符串反转

摘要:解题思路:逆序,就是将最后一个元素与第一个交换,倒数第二个元素与第二个交换……因此用两个循环控制变量,一个从首元素开始,另一个从末元素开始,再用一个临时变量作为交换的中介,就可以实现逆序了。用指针将数……