求大神帮忙啊 愁死啦
#include<iostream>
using namespace std;
#include<stdlib.h>
#include <time.h>
#include<string.h>
#define SIZE 4
typedef struct Car1
{
char number[15];
int artime;
int letime;
......................
阅读全部
|
卡萨丁1234
贴于 2017年7月3日 22:00
hide
bbsi
求大神帮忙啊 愁死啦
#include<iostream>
using namespace std;
#include<stdlib.h>
#include <time.h>
#include<string.h>
#define SIZE 4
typedef struct Car1
{
char number[15];
int artime;
int letime;
......................
阅读全部
|
卡萨丁1234
贴于 2017年7月3日 22:00
hide
bbsi
#include<stdio.h> /*引用库函数*/
#include<stdlib.h>
#include<ctype.h>
#include<string.h>
typedef struct /*定义结构体数组*/
{
char num[20]; /*学号*/
char name[10];
int Cnum;
int Enum;
int Mnum;}Student;
Student stu[80]; /*结构体数组变量*/
......................
阅读全部
|
DTIX
贴于 2017年7月2日 23:06
hide
bbsi
#include <stdio.h>
void dui(int A[]);
void cuo(void);
void panduan(int p[7][7]);
void shuru();
int i,j,k; //i是每个保安的变量,j是存放选择的天数,k是存放每人选择日期的变量
int p[7][7]; //存放选择的日期的变量,每个人选择的日期变量
int a ,b ,c ,d ,e ,f ,g ;
int ax,bx,cx,dx,ex,fx,gx; //确定选择个数的变量
int A[7]={0}; //比较
......................
阅读全部
|
XH_jing
贴于 2017年7月2日 17:38
hide
bbsi
#include <iostream>
using namespace std;
void meger(int a[],int b[],int m,int n);
int main()
{
int A[5]={1,5,3,7,9};//定义了第一个数组和值
int B[5]={2,4,8,6,10};//定义了第二个数组和值
meger(A,B,5,5);//调用函数
return 0;
}
void meger(int a[],int b[],int m,int n)
{
......................
阅读全部
|
H_Ace_Killer
贴于 2017年6月29日 11:01
hide
bbsi
#include<stdio.h>
int main()
{
int t,p;
long long n;
scanf("%d",&t);
while(t--)
{
scanf("%d%lld",&p,&n);
long long pre1=1,pre2=1,now;
if(n<=2){
printf("1\n");
......................
阅读全部
|
mimijilu
贴于 2017年6月28日 21:54
hide
bbsi
#include <Windows.h>
#include <stdio.h>
#include <process.h>
#include <conio.h>
#include <time.h>
#define CHAIRS 3 //椅子的个数
#define BARBERS 1 //理发师的个数
#define CUSTOMESTOCOME 7 //将要来的顾客的数量
typedef HANDLE SEMAPHORE;
......................
阅读全部
|
飞雪都督
贴于 2017年6月21日 00:28
hide
bbsi
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<script language="vbscript">
sub go()
location.href = document.f.se.value
end sub
</script>
<body>
......................
阅读全部
|
wl2546
贴于 2017年6月20日 20:24
hide
bbsi
// FiveGame.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include<stdlib.h>
#include<stdio.h>
#include<ctype.h>
#include<string.h>
#include<windows.h>
#define SPACE 18
const int MAX = 8;
const char player_c = 'U'; //User
......................
阅读全部
|
GBH1
贴于 2017年6月20日 10:42
hide
bbsi