题解列表
题目2009:第一个带类的程序(带set函数)
摘要:```import java.util.Scanner;public class Main { public static void main(String[] args) { M……
整数序列的元素最大跨度值
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int n,max,min; scanf("%d",&n); int a[n]; f……
统计字符数(再初始化一个数组存26个字母的出现次数,以每个元素减去'a',得序号来存入数组)
摘要:参考代码:
```c
#include
#include
int main()
{
int n;
scanf("%d",&n);
char s[1001];
while(~s……
字符串中间和后边*号删除(用指针狠狠调试)
摘要:参考代码:
```c
#include
#include
int fun(char *a)
{
while(*a=='*')//遍历过前导*,不做处理
{
……
编写题解 2772: 苹果和虫子
摘要:解题思路:无注意事项:无参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n,x,y; cin>>n>……
自定义函数求一元二次方程
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>void da(float a,float m,float n){ if(n>0) { printf(……
自定义函数处理素数s
摘要:解题思路:注意事项:参考代码:#include<stdio.h>void su(int n){ int i; for(i=2;i<=n;i++) { if(n%i==0……