1094: 字符串的输入输出处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; scanf("%d",&i); getchar(); char a[100]; for(i…… 题解列表 2023年11月03日 0 点赞 0 评论 467 浏览 评分:0.0
1095: The 3n + 1 problem 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int f(int n){ int i=1; while(n!=1) { if(n%2==0) n=n/2; else …… 题解列表 2023年11月03日 0 点赞 0 评论 355 浏览 评分:0.0
巨大的数(因为只需要求个位,那每次的乘积只保留个位就行) 摘要:参考代码: ```c #include int main() { int n; scanf("%d",&n); long long sum=1;//不用在意long long 这是…… 题解列表 2023年11月04日 0 点赞 0 评论 514 浏览 评分:0.0
数组插入处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i, j, n, temp, a; int arr[10]; int add[10]…… 题解列表 2023年11月04日 0 点赞 0 评论 376 浏览 评分:0.0
二维数组的转置 摘要:解题思路:当j>i时换(等号有没有都行)注意事项:参考代码:#include<stdio.h>int main(){ int i, j; int temp; int arr[3][3…… 题解列表 2023年11月04日 0 点赞 0 评论 435 浏览 评分:0.0
题解 2214: 蓝桥杯算法提高-快速排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int hanshu(int a[],int low,int high){ int pivot=a[low]; while(…… 题解列表 2023年11月04日 0 点赞 0 评论 582 浏览 评分:0.0
2854: 密码翻译 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[1000];int main(){ cin.getline(s…… 题解列表 2023年11月04日 0 点赞 0 评论 485 浏览 评分:0.0
2855: 简单密码 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[1000];int main(){ cin.getline(s…… 题解列表 2023年11月04日 0 点赞 0 评论 470 浏览 评分:0.0
2848: 基因相关性 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[1000],a[1000];int main(){ doubl…… 题解列表 2023年11月04日 0 点赞 0 评论 523 浏览 评分:0.0
2851: 合法C标识符 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[1000],a[1000];int main(){ cin>>…… 题解列表 2023年11月04日 0 点赞 0 评论 528 浏览 评分:0.0