题解列表
1094: 字符串的输入输出处理
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; scanf("%d",&i); getchar(); char a[100]; for(i……
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 ……
巨大的数(因为只需要求个位,那每次的乘积只保留个位就行)
摘要:参考代码:
```c
#include
int main()
{
int n;
scanf("%d",&n);
long long sum=1;//不用在意long long 这是……
题解 2214: 蓝桥杯算法提高-快速排序
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int hanshu(int a[],int low,int high){ int pivot=a[low]; while(……