题解列表
编写题解 2236: 蓝桥杯算法训练-大小写转换(python)
摘要:解题思路:注意事项:参考代码:a=input()s=""for i in a : if i>='A' and i<='Z': s+=chr(ord(……
编写题解 2239: 蓝桥杯算法训练-动态数组使用(python)
摘要:解题思路:注意事项:参考代码:def countsum(m): sum=0 for i in m: sum+=i return sumdef avg(m,s): ……
1977: 求中间数
摘要:#include <bits/stdc++.h>
using namespace std;
int main(){
vector<int> a(3,0);
cin >> a……
2001: 边长判断
摘要:这三个数不一定是排好序的。#include <bits/stdc++.h>
using namespace std;
int main(){
vector<int> a(3,0);
……
2006: 寻找奇整数
摘要:#include <bits/stdc++.h>
using namespace std;
int main(){
int a[] = {3,7,5,13,25,45,78,23,8……
2007: 计算输入数据的和与乘积
摘要:#include <bits/stdc++.h>
using namespace std;
int main(){
string s;
cin >> s;
vec……
1848: 求输入数据绝对值
摘要:#include <bits/stdc++.h>
using namespace std;
int main(){
double x;
while(cin>>x){
……