题解列表

筛选

优质题解

公交汽车(C++)

摘要:- 定义变量 题目中说明有需要10个整数代表不同路程的费用,于是先声明一个数组(名为worth,长度为11,worth[0]为空,worth[1~10]表示一次性行走1~10公里所需费用) 接着定……

zb-字符串插入-C++

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