题解列表

筛选

编写题解 2880: 计算鞍点

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int max[5]={0};    int min[5]={0};    int i=0,j=0;   ……

1431蓝桥杯2014年第五届真题-分糖果题解

摘要:解题思路:运用列表里面最后一个数据的索引可以是n-1也可以是-1,来进行遍历注意事项:参考代码:n= int(input())   #一开始为了方便自己查看,输入里面有个‘人数’,然后一直错误list……

c语言的一种思路

摘要:解题思路:6注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char a[100];    gets(a);    vow(a)……

简单的fot循环语句即可

摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main(void){ int a,n,i; int Sn; scanf("%d", &n); a = 0; Sn = 0;……

2种方法写题解

摘要:解题思路:注意事项:参考代码:a= input()k=0for i in a:    if 47<ord(i) and ord(i)<58:  #ASCII码判断是不是数字        k+=1pr……

1204: 大小写转换

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() {     char str[85] = {0};     ……

时间效率题

摘要:解题思路:1、最菜鸟的解题方法:就是遍历使用双层for把两个数遍历出来,然后在里面调用一个函数,函数的用途是判断这两个数是否是亲密数,函数参数是遍历的两个数。然后函数体定义部分是,使用for循环把这两……

2855: 简单密码

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() {     char a[205] = "\0";     ……

JAVA解决成绩判定

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