题解列表

筛选

3x3数组的转置(简单代码)

摘要:解题思路:原来:(ij)  00 01 02    转置后: (ij)00    10    20                           

1777: 循环练习之完美数判断

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     int  n;     int j=0;  ……

C语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int f(int n){    if(n==1||n==2)    {        return 1;    }    else  ……

1781: 登陆验证问题(一)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     string str1,str2;     c……

最大公约数与最小公倍数

摘要:解题思路:用辗转相除法求最大公约数,在求出最小公倍数。最后再调用函数即可。注意事项:参考代码:#include<stdio.h>int f(int a,int b){    if(b==0)    r……

2759: 打印字符

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……

蓝桥杯2022年第十三届省赛真题-刷题统计

摘要:解题思路:n的范围达到了十的十八次方,如果只用循环的画时间复杂度会非常的大,而且只能拿到80分。注意事项:数据的类型要用长整型参考代码:#include<iostream>using namespac……