找出规律 for循环输出即可 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;using ll = long long;const int N = 1e5+9;i…… 题解列表 2024年03月23日 0 点赞 0 评论 206 浏览 评分:0.0
2854: 密码翻译 摘要:参考代码:s = list(input()) for i in range(len(s)): if s[i] == 'z': s[i] = 'a&…… 题解列表 2024年03月23日 0 点赞 0 评论 327 浏览 评分:0.0
2855: 简单密码 摘要:参考代码:s = input() s1 = { "A": "V", "B": "W", "C": "X", &q 题解列表 2024年03月23日 0 点赞 0 评论 170 浏览 评分:0.0
[编程入门]链表之报数问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int n = 0; scanf_s("%d", &n); int arr[1000] = { 0 }; fo…… 题解列表 2024年03月23日 0 点赞 0 评论 200 浏览 评分:0.0
题解 1099: 校门外的树 摘要:解题思路:注意事项:参考代码:L, M = map(int, input().split()) trees = [1 for x in range(L+1)] for x in range(M):…… 题解列表 2024年03月23日 0 点赞 0 评论 165 浏览 评分:0.0
题解 2903: 不高兴的津津 摘要:解题思路:注意事项:参考代码:hour_max = day = 0 for i in range(1, 7 + 1): hour1, hour2 = map(int, input().sp…… 题解列表 2024年03月23日 0 点赞 0 评论 236 浏览 评分:0.0
数列求和~~~~ 摘要: #include int main() { int a[35]={3,4,5,0}; int n,i; scanf("…… 题解列表 2024年03月23日 0 点赞 0 评论 192 浏览 评分:0.0
没事不要乱发明游戏 摘要: #include int main() { int n; while(scanf("%d",&n)!=EOF) { …… 题解列表 2024年03月23日 0 点赞 0 评论 219 浏览 评分:0.0
前缀和秒杀 摘要:解题思路:注意事项:边界参考代码:#include <bits/stdc++.h> #define int long long #define rep(i, j, n) for (int i = …… 题解列表 2024年03月24日 0 点赞 0 评论 224 浏览 评分:0.0
字符排列问题 c语言 摘要: 大致思路: 字符全排列问题且除去相同排列的字符,那么可以先去重,再进行排列。 此处设n为输入的n个字符,m为去重之后的字符个数 #include int…… 题解列表 2024年03月24日 0 点赞 0 评论 315 浏览 评分:0.0