题解列表

筛选

C语言链表解法

摘要:解题思路:注意事项:参考代码:#include<stdio.h> typedef struct Link{ int data; struct Link *next; }Link; //循……

记录解题过程。

摘要:解题思路:  注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    double x1, x2,x3,x4;    d……

简单易懂!!!

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

简单点自由下落问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>float geat(int k){   float s=1.0;   float a=1/2.0;   for(int i=0;i<k……

自守数问题

摘要:解题思路:注意事项:用long型,不然会超出范围参考代码:public class Main {    public static void main(String[] args) {        ……

简单易懂!!!

摘要:解题思路:注意事项:参考代码:#include<stdio.h>//判断是否为闰年    int leap(int n)    {         if((n%4==0&&n%100!=0)||n%4……