c语言写一个数组栈#include <stdio.h>#include <stdlib.h>#define Size 20typedef char ElementTypetypedef struct{ E2023-04-29Python230
c语言输入10个整数,按降序排序输出#include<stdio.h>int mysort(int *a,int n){ int i,j,temp for(i=0i<n-1i++) { for(j=0j&am2023-04-15Python160
C语言 字符串加密#include<stdio.h>#include<stdlib.h>#include<string.h>int main(void){ char c[100] 2023-03-07Python170
c语言编程分段计算水费#include<stdio.h>main(){float x,yscanf("%f",&x)if(x<0.0) y=0else if(x>=0&am2023-03-05Python120
c语言 求中位数#include<stdio.h>#define N 1001void bubblesort(int *list,int len) 冒泡排序{ int i,jint temp for(i=0i&am2023-03-05Python160
用C语言求二阶矩阵的n次方#include<stdio.h> int main(int argc,char* argv[]){int nint A[4],B[4]scanf("%d",&n)scanf(&qu2023-03-04Python170
c语言 求中位数#include<stdio.h>#define N 1001void bubblesort(int *list,int len) 冒泡排序{ int i,jint temp for(i=0i&am2023-02-27Python160
c语言ip判断#include<stdio.h>struct IP{int achar q1int bchar q2int cchar q3int d}svoid yesno(){scanf("%d%c%2023-02-27Python150
c语言ip判断#include<stdio.h>struct IP{int achar q1int bchar q2int cchar q3int d}svoid yesno(){scanf("%d%c%2023-02-27Python160
c语言ip判断#include<stdio.h>struct IP{int achar q1int bchar q2int cchar q3int d}svoid yesno(){scanf("%d%c%2023-02-26Python160
求完全数的python语句# !usrbinpython27# coding: utf8'''计算完美数(完全数)'''for n in range(1,1000): nlist = [i fo2023-02-26Python160
python如何计算π#coding=utf-8'''Created on 2014-11-04@author: Neo'''import sysimport mathfrom decimal impo2023-02-25Python190
用python开发一个物流web代码# coding:cp936line=raw_input('please input: ')print linen=len(line)n1=0n2=0n3=0for ch in line: if ch in 2023-02-25Python340
c语言 求中位数#include<stdio.h>#define N 1001void bubblesort(int *list,int len) 冒泡排序{ int i,jint temp for(i=0i&am2023-02-25Python160
JAVA编程 完全数public class PerfectNumber{private static String[] isPrefectnumber(int n){int sum=0StringBuffer sBuffer = new String2023-02-24Python270
c语言画飞机图形#include <stdio.h>int main(){ int space[5]={4,4,5,6} int i,j for(i = 0 i < 4 i ++) { 2023-02-24Python210
阶梯电价问题 C语言#include <stdio.h>int main(){float n,costscanf("%f",&n)if(n<=110) cost=n*0.5else if(n2023-02-24Python130
C语言编程题利润提成#include <stdio.h>int main(){int z,ifloat sum=0printf("input money:")scanf("%d",&2023-02-24Python310
c语言gcd函数怎么用求两个数a,b的最大公约数 int gcd(int a,int b){if(a==0){return b}else{return gcd(b % a,a)}}int gcd(int m,int n){int i,rgcd=1for 2023-02-24Python110
C语言计算圆周率 #include "stdio.h"void main(){ int n=0 double i=1 double sum=0 while((1i)>0.0000001) { 2023-02-23Python210