题解列表
笔记 1002: [编程入门]三个数最大值
摘要:```java
import java.util.Scanner;
public class Main {
public static void main(String[] args……
< ctype.h>
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>int main(){ char s[1000]; i……
直接读入字符如其所愿
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[1000]; gets(s); for(in……
刷完这道题就回宿舍!
摘要:解题思路:注意事项:参考代码:myStr=input().strip()num=int(input())flag=1myStr1=""for temp in range(num): myList……
优质题解
自守数问题--C语言自建函数判断自守数详细讲解
摘要:`解题思路:`
从0开始遍历到200000,然后设计一个判断自守数函数`IsAutomorphicNumber` ,将遍历的每个数字 `num` 作为参数输入,在函数内部进行判断,将判断结果返回……
C++宏三角形面积 简单易懂
摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>#include <iomanip>#define area sqrt(s*(s-a)*(s-b)*……
C++宏练习 简洁易懂
摘要:解题思路:注意事项:参考代码:#include <iostream>#define yu(a,b) (a%b) using namespace std;int main(){ int a,b,c; c……