题解列表
2819: 数字反转(python)
摘要:解题思路:注意事项:参考代码:n = int(input())
if n < 0:
print("-",end = "")
n = -n
n = str(n)[::-1]
……
c++----map的统计功能
摘要: #include
using namespace std;
int main()
{
int n;
cin>>n;
int a……
编写题解 1102: 明明的随机数
摘要:解题思路:注意事项:参考代码:input()lst=list(set(int(i) for i in input().split()))lst.sort()lst=list(map(str,lst))……
蓝桥杯2018年第九届真题-次数差-C++
摘要:解题思路: 双指针法注意事项: 注意我在字符串末尾加了个‘A’,可以减少判断逻辑参考代码:#include<iostream>
#include<algorithm>
using na……
2826: 雇佣兵(python)
摘要:解题思路:注意事项:参考代码:from decimal import *
M,N,X = map(int,input().split())
while X > 0 and X * N >= M:
……
2867: 单词的长度 c++简洁版
摘要:解题思路:注意事项:参考代码:#include <iostream>
#include <string>
using namespace std;
int main() {
boo……
<计算机二级>计负均正(C语言)
摘要:#include<stdio.h>
int main()
{
int arr[20],count=0,sum=0;
float ave;
for (int i = 0; i < 20;……