文章列表
1005答案错误为什么
摘要:/*输入一个华氏温度,要求输出摄氏温度。公式为 c=5(F-32)/9,取位2小数。*/#include <stdio.h>int main(){ float c,f; scanf("%f",&f)……
排序算法(选择,插入,冒泡)
摘要:#include<stdio.h>
#define SWAP(x,y) {int t;t=x;x=y;y=t;}
//选择排序法:
/*
将要排序的对象最为两部分,一部分是已排序的,一……
1392题解(大数相加)
摘要:#include<stdio.h>
#include<string.h>
#include<math.h>
#define IndexMax 1002
char* puqi(char num[……
1162答案错误,为什么
摘要:#include <stdio.h>
#include <string.h>
int judge(char s[])
{
int flage = 0,flage_A = 0,flage_……
1231题解(注意理解“输入多个测试实例”)
摘要://注意题目要求:输入数据包含多个测试实例
#include <stdio.h>
int Ytriangle(int n)
{
int i,j=1,index=0,num[50][50]……
1134题解(求分析)
摘要://谁能分析一下这两种求值顺序对结果的影响
#include<stdio.h>
#include<math.h>
int main()
{
double pi = 0,i=1,tem……