编写题解 1481: 蓝桥杯算法提高VIP-剪刀石头布 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split())if (a==0 and b==2) or (a==1 and b==0) or (a==2 and b==1):…… 题解列表 2021年08月22日 0 点赞 0 评论 460 浏览 评分:0.0
蓝桥杯2021年第十二届国赛真题-大写-python 摘要:解题思路:.................直接利用upper()函数注意事项:参考代码:s=input()t=s.upper()print(t)…… 题解列表 2021年08月22日 0 点赞 0 评论 1085 浏览 评分:8.0
STL函数翻转 摘要:解题思路:C++STL库函数翻转注意事项:参考代码:```#include<bits/stdc++.h>using namespace std;int main(){ vector<int> a…… 题解列表 2021年08月21日 0 点赞 0 评论 523 浏览 评分:9.9
1040: [编程入门]实数的打印 AC代码 摘要:```cpp #include using namespace std; int main() { cout n; cout …… 题解列表 2021年08月21日 0 点赞 0 评论 1134 浏览 评分:9.9
首字母大写(Java代码) 摘要:```java package datastrutures; import java.util.Scanner; /* * 题目 1727: 首字母大写 */ public cla…… 题解列表 2021年08月21日 0 点赞 0 评论 591 浏览 评分:6.0
python快速解决该问题(Python) 摘要:解题思路:整除100得到前两位数;100取余得到后两位数,再进行循环。注意事项:参考代码:n=1000while n<10000: a=n//100 b=n%100 if n==(a…… 题解列表 2021年08月21日 0 点赞 0 评论 558 浏览 评分:9.9
两种方法(C++) 摘要:解题思路:注意事项:参考代码:1.#include<iostream> #include <algorithm> #include <string> using namespace std;…… 题解列表 2021年08月21日 0 点赞 0 评论 357 浏览 评分:0.0
这不更简单粗暴吗 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){char a[4];scanf("%s",a);printf("%c ",a[0]);printf("%c ",a…… 题解列表 2021年08月21日 0 点赞 0 评论 444 浏览 评分:2.0
这不更容易理解吗 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){char a[4];scanf("%s",a);printf("%c ",a[0]);printf("%c ",a…… 题解列表 2021年08月21日 0 点赞 0 评论 775 浏览 评分:2.0
斐波那契数列求和 摘要:解题思路:1.首先宏定义N作为数组长度,所输入的n需要小于等于N(N的值可以根据数据大小调整)。2.数组前两项自行赋值。3.利用for循环求斐波那契数列各项的值( a[i]=a[i-1]+a[i-2]…… 题解列表 2021年08月21日 0 点赞 0 评论 759 浏览 评分:9.9