七行简便 编写题解 2847: 找第一个只出现一次的字符 摘要:解题思路:if n.count(i)==1:注意事项:else: print('no')参考代码:n=input()for i in n: if n.count(i)==1:…… 题解列表 2024年04月24日 0 点赞 0 评论 782 浏览 评分:0.0
蓝桥杯2024年第十五届省赛真题-数字诗意 最优雅写法 摘要:```cpp #include #define int long long using namespace std; signed main() { int n = 1, m, …… 题解列表 2024年04月23日 4 点赞 3 评论 1901 浏览 评分:10.0
编写题解 1622: 蓝桥杯算法训练VIP-字符删除 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char arr[21] = { 0 },ch=0; int d = 0; gets(arr); ch=getc…… 题解列表 2024年04月23日 0 点赞 0 评论 702 浏览 评分:9.9
2821: 开关灯 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>typedef long long ll;const int N=1e5;ll a[N];using namespace s…… 题解列表 2024年04月23日 0 点赞 0 评论 420 浏览 评分:0.0
第一个带类的程序 摘要:解题思路:注意事项:参考代码: import java.util.Scanner;class Data{ private int year,month,day; public void …… 题解列表 2024年04月23日 0 点赞 0 评论 539 浏览 评分:9.9
2990: 十进制到八进制 摘要:解题思路:注意事项:参考代码:import java.lang.*; import java.math.BigDecimal; import java.util.Scanner; pub…… 题解列表 2024年04月23日 0 点赞 0 评论 366 浏览 评分:0.0
STL deque优雅方案 摘要:解题思路:使用STL队列维护m个连续奇数注意事项:参考代码:#include<iostream> #include<cmath> #include<deque> using namespace …… 题解列表 2024年04月23日 0 点赞 0 评论 349 浏览 评分:0.0
最匹配矩阵 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include<utility>using namespace std;int Difference…… 题解列表 2024年04月23日 0 点赞 0 评论 518 浏览 评分:0.0
分布式队列AC做法——主要看偏移量,与元素值无关 摘要:参考代码:import java.io.*; import java.util.*; public class Main { static BufferedReader in = n…… 题解列表 2024年04月23日 2 点赞 0 评论 1085 浏览 评分:9.9
dfs经典马走日 摘要: ```cpp #include using namespace std; #define int long long #define endl "\n" const int N…… 题解列表 2024年04月23日 0 点赞 0 评论 447 浏览 评分:9.9