#include "stdio.h"
main()
{
int i,j,y;
for(i=0;i<=3;i++)
for(j=0;j<=i;j++);
{ y=2*j+1;
printf("%d",y);
}
printf("\n");
}
阅读全部
|
离心运动
贴于 2011年11月18日 05:40
hide
bbsi
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace shiyan12_1_
{
public partial class Appsetting : Form
......................
阅读全部
|
顾帆
贴于 2011年11月18日 03:43
hide
bbsi
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace shiyan12_1_
{
public partial class Appsetting : Form
......................
阅读全部
|
顾帆
贴于 2011年11月18日 03:36
hide
bbsi
#include<stdio.h>
#define IN 1
#define OUT 0
void main()
{
int c, nl,nw,n,state;
state=OUT;
nl=nw=n=0;
c=getchar();
while(c!=EOF)
{
......................
阅读全部
|
沧贞珏
贴于 2011年11月17日 06:01
hide
bbsi
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>SvltDis.jsp</title>
......................
阅读全部
|
天马狂飙
贴于 2011年11月15日 03:09
hide
bbsi
index.jsp
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
......................
阅读全部
|
天马狂飙
贴于 2011年11月15日 03:07
hide
bbsi
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'display.jsp' starting page</title>
......................
阅读全部
|
天马狂飙
贴于 2011年11月15日 03:04
hide
bbsi
#include<iostream.h>
#include<stdlib.h>
#include<stdio.h>
#include<math.h>
#include<conio.h>
typedef char telemtype;
typedef int status;
typedef struct bitnode
{ telemtype data;
struct bitnode *lchild,*rchild;
}bitnode,*bitree;
bitree t;
......................
阅读全部
|
lovexiang
贴于 2011年11月13日 04:49
hide
bbsi
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 任务一
{
class Program
{
static void Main(string[] args)
{
......................
阅读全部
|
顾帆
贴于 2011年11月12日 23:43
hide
bbsi
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import commands
import os
import re
import urllib
import urllib2
"""
这段脚本能帮你自动下载安装最新版的rails,如果缺少相关的gem包则递归下载相应的gem包,直到安装成功为止
by BCCN.静夜思 2011.11.11
......................
阅读全部
|
静夜思
贴于 2011年11月12日 09:01
hide
bbsi