/*
This program shows the 3 dimensional model of the finite
element mesh for brick elements.
Last Update 12/4/06
SLFFEA source file
Version: 1.5
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 San Le
The source code contained in this file is released under the
terms of the GNU Library General Public License.
......................
阅读全部
|
小强VS小明
贴于 2017年1月2日 15:00
hide
bbsi
#include <stdio.h>
#include <windows.h>
#include <string.h>
int main()
{
int i,j,len,k,m;
printf("\n\n");
char* test="Now it will copping completed: ";
len=(int)strlen(test);
for (i=0;i<=100;i++)
{
......................
阅读全部
|
wp231957
贴于 2016年12月29日 21:28
hide
bbsi
#include<stdio.h>
int c(int n)
{
int i;
if(n<0){
n=-n;
for(i=2;i<n/2;++i)
{if(n=i*i*i)
return 1;
}return 0;
}
else{
......................
阅读全部
|
天衣boy
贴于 2016年12月29日 20:34
hide
bbsi
#include<stdio.h>
#include<math.h>
int main()
{
int count=0,i;
long last=0;//用来记录这个数的最后n位//
long num;
for(i=0;i<2000000;++i)
{
last=i;num=i;
while(num)
{
......................
阅读全部
|
天衣boy
贴于 2016年12月29日 15:15
hide
bbsi
#include<stdio.h>
#include<math.h>
int main()
{
int count=0,i;
long last=0;//用来记录这个数的最后n位//
long num;
for(i=0;i<2000000;++i)
{
last=i;num=i;
while(num)
{
......................
阅读全部
|
天衣boy
贴于 2016年12月29日 15:15
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=utf-8" />
<title>录入表格</title>
<style>
#myDiv{
width:100px;
height:50px;
background-color:#ccc;
}
......................
阅读全部
|
lzy740744969
贴于 2016年12月29日 10:16
hide
bbsi
#include<stdio.h>
int n,m,a[999],b[999],c,c1;
int main(){
scanf("%d%d",&n,&m);
c=0;c1=0;
for(int i=1;i<=n;i++){
a[i]=i;
}
for(int i=1;i<=n;i++){
if(a[i]!=0) c++;
if(c==m){
c1++;
......................
阅读全部
|
天衣boy
贴于 2016年12月28日 23:46
hide
bbsi
#include<stdio.h>
int main()
{
int n;
int max;
while(scanf("%d",&max)!=EOF)
{
while(scanf("%d",&n)!=EOF&&n)
{
if(n>max) max=n;
else max=max;
}
......................
阅读全部
|
天衣boy
贴于 2016年12月28日 22:35
hide
bbsi
#include <math.h>
#include <stdio.h>
int p(int s)
{
if ((int) sqrt((double) s) * (int) sqrt((double) s) == s) return 1;
else return 0;
}
int main()
{
int i=0,j=0;
......................
阅读全部
|
天衣boy
贴于 2016年12月28日 21:47
hide
bbsi
from datetime import datetime
import math
from tkinter import*
class StillClock(Canvas):
def __init__(self):
super().__init__()
self.setcurrenttime()
self.pack()
self.mainloop()
def gethour(self):
return self.__hour
......................
阅读全部
|
Jangle_
贴于 2016年12月28日 15:16
hide
bbsi