题解列表
字符串的输入输出处理 (C语言代码)
摘要:解题思路:注意事项:参考代码:#include "stdio.h"
int main()
{
char a[1000];
int n,i;
scanf("%d",&n);
getc……
A+B for Input-Output Practice (II) (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,n; scanf("%d",&n); while(n--) { ……
A+B for Input-Output Practice (III) (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,n; while(scanf("%d %d",&a,&b)!=EOF&&a!=0|……
C语言程序设计教程(第三版)课后习题6.7 (Java代码)
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……
数列有序 (C语言代码)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m,i,t,a[200],j; while(scanf("%d %d",&n,&m)!=……
蓝桥杯基础练习VIP-时间转换 (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int H,M,S,t; scanf("%d",&t); ……
WU-C二级辅导-公约公倍 (C语言代码)
摘要:参考代码:#include<stdio.h>
int max(int a,int b)
{
int c;
while(b!=0)
{
c=a%b;
a=b;
b……
WU-C二级辅导-阶乘数列 (C语言代码)
摘要:参考代码:#include<stdio.h>
double jiecheng(int n)
{
if(n==1)
return 1;
else
return jiecheng(……
Manchester- 排序问题<1>(冒泡过程分解)
摘要:解题思路:根据冒泡排序,四个数排三次;从第一个数开始,每一个数与它的后一个数比较,大于后一个数则交换;每次交换后最大的数就会在最后一个比如 :5 4 3 2第一次:4 3 2 5第二次:3 2 4第三……