int su=0;
void resvnum(int k)
{
if(k==0) return ;
int n=k % 10;
k/=10;
su=su*10+n;
resvnum(k);
}
阅读全部
|
wp231957
贴于 2015年4月22日 10:03
hide
bbsi
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>动漫style</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="<?php echo site_url('assets/front/http://www.tonytheme.com/buyshop-html/favicon.png');?>">
<link href="<?php echo site_url('assets/front/css/reset.css');?>" rel="stylesheet">
<link href="<?php echo site_url('assets/front/css/bootstrap.css');?>" rel="stylesheet">
......................
阅读全部
|
刘笑笑
贴于 2015年4月21日 22:45
hide
bbsi
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class login : System.Web.UI.Page//这个是 声明一个 Login类,继承自System.Web.UI.Page,它是一个公共部分类
......................
阅读全部
|
Ms姜
贴于 2015年4月21日 22:31
hide
bbsi
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<malloc.h>
#include<math.h>
#define STACK_INIT_SIZE 100
#define STACKINCREMENT 10
struct SqStack{
int *base;
int *top;
int stacksize;
};
......................
阅读全部
|
娃娃菜
贴于 2015年4月21日 22:23
hide
bbsi
我想建立一种索引,但是要能快速高效的能够索引到海量数据,大概有几百万条的生物DNA序列,要能准确的查找到所在序列编号与位置,而且所占内存还要小!!!怎么办???
阅读全部
|
所以,散了吧
贴于 2015年4月21日 22:05
hide
bbsi
#include<math.h>
#include<stdio.h>
main()
{
double s,h,p,p1,p0,a,v,w,p2;
w=215*3.14/30,h=30,p0=90,p1=90,p=0,p2=190;
for(p=0;p<=190;p=p+5)
{if(0<=p&&p<=45)
{s=2*h*p*p/p0*p0,v=4*h*w*p/p0*p0,a=4*h*w*w/p0*p0;}
else
{if(45<p&&p<=90)
s=(h-2*h*(p0-p)*(p0-p))/p0*p0,v=4*h*w*(p0-p)/p0*p0,a=-4*h*w*w/p0*p0;}
......................
阅读全部
|
liu609
贴于 2015年4月19日 19:39
hide
bbsi
#include"stdio.h"
int max(int a,int b)
{
int max=(a>b)?a:b;
return max;
}
void main ()
{
int a,b;
printf("输入两个整数:");
scanf("%d%d",&a,&b);
printf("%d\n",max(a,b));
......................
阅读全部
|
鱼游海底
贴于 2015年4月18日 11:56
hide
bbsi
#include"stdio.h"
int main()
{
int a,b;
printf("输入两个整数:");
scanf("%d%d",&a,&b);
if(a>b)printf("max=%d\n",a);
else printf("max=%d\n",b);
return 0;
}
阅读全部
|
鱼游海底
贴于 2015年4月18日 11:49
hide
bbsi
Option Explicit
Public txtSQL As String
Dim mrc As ADODB.Recordset
Dim MsgText As String
Private Sub Form_Load()
ShowTitle
ShowData
flagLedit = True
......................
阅读全部
|
zmx11
贴于 2015年4月18日 11:16
hide
bbsi
#include <stdlib.h>
#include <stdio.h>
#include <winsock2.h> //加入WinSock的头文件
#include <WS2TCPIP.h> //设置IP_HDRINCL需要
#include <time.h>
#pragma comment(lib,"Ws2_32.lib") //加入库函数
#include <iostream>
using namespace std;
typedef struct //定义IP首部
{
unsigned char h_verlen; //4位首部长度,4位IP版本号 无符号范围较广在正值
unsigned char tos; //8位服务类型TOS
......................
阅读全部
|
T_MACC
贴于 2015年4月17日 20:35
hide
bbsi