题解列表
自定义函数(C++)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<iomanip>double fact(double n) ……
JAVA解三个数最大值
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……
编写题解 2847: 找第一个只出现一次的字符
摘要:解题思路:Python count() 方法用于统计字符串里某个字符或子字符串出现的次数。注意事项:1)语法:str.count(sub, start= 0,end=len(string))2)参数解……
编写题解 2846: 统计数字字符个数
摘要:解题思路:str.isdigit(),判断字符是否为数字注意事项:参考代码:n=input()
count=0
for i in n:
if i.isdigit(): #判断字符是否为数……
编写题解 2927: 二分法求函数的零点
摘要:解题思路:主函数-f(x)函数-ok函数循环注意事项: 二分法参考代码:#include<stdio.h>double f(double x);void ok(double a,double b); ……