首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
#include <stdio.h>
#include<stdlib.h>
#include<time.h>
#define DL 3
#define STR(n)#n
#define DIGIT_LEN_STR(n) "%" STR(n) "d"
typedef struct Node{
    int data;
    struct Node *next;
}Node;

Node *getNewNode(int val)
......................
阅读全部 | geruichen 贴于 2023年9月9日 16:02     hide bbsi
import matplotlib.pyplot as pyplot
import numpy as np 
import time 
import datetime
import pandas as pd 


data1=pd.read_excel("附件1.xlsx")
data2=pd.read_cvs("附件2.cvs")
data3=pd.read_excel("附件3.xlsx")
data4=pd.read_excel("附件4.excel")
all_list=np.array([class_list]*1094)
......................
阅读全部 | zhangyuyuyyy 贴于 2023年9月9日 11:48     hide bbsi
#include <stdio.h>
#include <stdlib.h>
#include<time.h>

typedef struct vector{
 int size,count;
 int *data;
} vector;/*结构定义*/
vector *getNewVector(int n){//顺序表的初始化操作//
    vector *p=(vector*)malloc(sizeof(vector));//开辟顺序表空间//
    p->size=n;
    p->count=0;
......................
阅读全部 | geruichen 贴于 2023年9月7日 20:55     hide bbsi
#include <stdio.h>
#include <stdlib.h>


typedef struct vector{
 int size,count;
 int *data;
} vector;
vector *getNewVector(int n){
    vector *p=(vector*)malloc(sizeof(vector));
    p->size=n;
    p->count=0;
......................
阅读全部 | geruichen 贴于 2023年9月4日 15:08     hide bbsi
#include<bits/stdc++.h>
using namespace std;
int a[1000],b[1000],c[1000];
int main(){
string a1,a2;
cin>>a1>>a2;
int lena=a1.size(),lenb=a2.size();
for(int i=0;i<lena;i++){
a[i]=a1[lena-1-i]-'0';
}
for(int i=0;i<lenb;i++){
b[i]=a2[lenb-1-i]-'0';
......................
阅读全部 | dhm 贴于 2023年8月15日 16:44     hide bbsi
#pragma once
    #include<windows.h>
    #include<iostream>
    using namespace std;
    typedef struct Frame
{

        COORD position[2];         
        //  COORD 是Windows API中定义的一种结构,表示一个字符在控制台屏幕上的坐标。
        // 其定义为:
        // typedef struct _COORD {
        //         SHORT X;
......................
阅读全部 | iuyt 贴于 2023年8月15日 10:35     hide bbsi
#include<iostream>
using namespace std;
int main()
{
cout<<"春晓"<<endl;
cout<<"春眠不觉晓,"<<endl;
cout<<"处处蚊子咬."<<endl;
cout<<"夜来嗡嗡声,"<<endl;
cout<<"脓包知多少."<<endl;
return 0;
}
阅读全部 | 王奕霖 贴于 2023年8月11日 13:56     hide bbsi
a=1
while a<=9:
    b=1
    while b<=a:
        c=b*a
        print(str(b)+"*"+str(a)+"="+str(c),end="\t")
        b=b+1
    a=a+1
    print("")
阅读全部 | 王奕霖 贴于 2023年8月10日 22:51     hide bbsi
a=1
while a<=9:
    b=1
    while b<=a:
        c=b*a
        print(str(b)+"*"+str(a)+"="+str(c),end="\t")
        b=b+1
    a=a+1
    print("")
阅读全部 | 王奕霖 贴于 2023年8月10日 22:50     hide bbsi
import turtle as t
from datetime import*
def Skip(step):
    t.penup()
    t.forward(step)
    t.pendown()
def mkHand(name,length):
    t.reset()
    Skip(-length*0.1)
    t.begin_poly()
    t.forward(length*1.1)
    t.end_poly()
......................
阅读全部 | 小白在此 贴于 2023年8月7日 22:05     hide bbsi
上一页 8 9 10 11 12 13 14 15 16 17 下一页