题解列表
题解 1020: [编程入门]猴子吃桃的问题(C代码,递归实现)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
int taozi(int a);
int main()
{
int t;
scanf( "%d", ……
题解 1192: 十->二进制转换
摘要:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int x; while(scanf("%d",&x)!=EOF) { ……
题解 1783: 星期判断机(C代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
int main()
{
int a;
scanf( "%d", &a );
switch(a)
……
扑克排序c++简单思路
摘要:解题思路:把字符都看成数字讲‘J’看成11,‘Q’看成12以此类推,然后判断花色将方块看成1,梅花看成2,红桃看成3,黑桃看成4。用STL库里中的sort排序算法,但是这里用的是结构体还要另外写一个判……
题解(找规律,列出数列)
摘要:解题思路:// 1 2 3 4 5 6 7 8 9 10// 1 2 3 4 6 9 13 19 28 41注意事项:参考代码:#include <bits/stdc++.h>
using……
用C语言筛选N以内的素数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int i=2,j=2,m=1; for(……
一眼看明白的java
摘要:```java
import java.util.*;
public class Main {
public static void main(String[] args) ……
自定义函数之字符串连接(C语言)
摘要:解题思路:这个题主要是让自己定义个函数进行连接注意事项:自定义函数时形参需要定义,如char参考代码:#include<stdio.h>#include<string.h>void link(char……