<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>体测查询</title>
<style>
</style>
<script src="jquery-1.8.0.js">
</script>
</head>
<body>
......................
阅读全部
|
mimijilu
贴于 2021年11月16日 12:46
hide
bbsi
#!/usr/bin/python3
from bottle import route,hook,template, run,request,response,get
import pymysql,json
@hook('after_request')
def enable_cors():
response.headers['Access-Control-Allow-Origin'] = '*'
response.headers['Access-Control-Allow-Methods'] = 'GET, POST, PUT, OPTIONS'
response.headers['Access-Control-Allow-Headers'] = 'Authorization, Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, X-Requested-By, If-Modified-Since, X-File-Name, X-File-Type, Cache-Control, Origin'
@get('/hello')
def hello():
db = pymysql.connect(host="172.16.8.224",user= "reader", password="123456",database= "student_information",port=1432)
cursor = db.cursor()
......................
阅读全部
|
mimijilu
贴于 2021年11月16日 12:44
hide
bbsi
#include <stdio.h>
int num1[]={2,5,7,9,12,15,18,35};
int twoSum(int* nums, int numsSize);//, int target);//, int* returnSize)
int main() {
printf("我在学C语言\n\n");
twoSum(num1,8);
return 0;
}
......................
阅读全部
|
GST_1208
贴于 2021年11月15日 20:58
hide
bbsi
#include <math.h>
#include <stdio.h>
int main()
{int n=0;
double a[3],b=0,c,d,x=0,s;
for(n=0;n<=2;n++)
scanf("%lf",&a[n]); //输入用空格断开
c=n;
printf("个数%f \n",c);
for(n=0;n<=c-1;n++)
b=b+a[n];
b=b/c;
......................
阅读全部
|
疯哈
贴于 2021年11月15日 09:28
hide
bbsi
#include <math.h>
#include <stdio.h>
int main()
{int n=0;
double a[3],b=0,c,d,x=0,s;
for(n=0;n<=2;n++)
scanf("%lf",&a[n]); //输入用空格断开
c=n;
printf("个数%f \n",c);
for(n=0;n<=c-1;n++)
b=b+a[n];
b=b/c;
......................
阅读全部
|
疯哈
贴于 2021年11月15日 09:28
hide
bbsi
#include<stdio.h>
int main()
{char c
c=getchar()
for(;(c=getchar())!='\n'
printf("%c",c);
return 0;
}
阅读全部
|
编程我最强
贴于 2021年11月15日 09:10
hide
bbsi
<?xml version="1.0"?>
<Project Name="展厅">
<Informations>
<Variable Name="屏幕分辨率" Type="4" Length="8">80 07 00 00 b0 04 00 00</Variable>
<Variable Name="颜色质量" Type="2" Length="8">2.000000</Variable>
<Variable Name="点击声音" Type="4" Length="0"></Variable>
</Informations>
<Transports>
<Component CLSID="{C45BDBAF-0A78-4B1B-93D7-B4FB50FBBB5E}" Name="Vunit2000">
<Variable Name="服务地址" Type="3" Length="28">192.168.1.105</Variable>
<Variable Name="服务端口" Type="2" Length="8">5800.000000</Variable>
<Variable Name="使用主机" Type="4" Length="0"></Variable>
......................
阅读全部
|
wuzewei
贴于 2021年11月15日 00:39
hide
bbsi
print("我在中国学Python\n")
# 练习一下循环的使用
for i in range(1, 21):
print(f"我爱编程中国 {i} 次")
阅读全部
|
TY时代站长
贴于 2021年11月14日 19:44
hide
bbsi
while Ture:
print('who are you?')
name=input()
if name!='mark':
continue
print('hi,mark.what is the password?(It is a fish.)')
password=input()
if password=input()
break
print('access granted.')
阅读全部
|
TY时代站长
贴于 2021年11月14日 19:40
hide
bbsi
#include <stdio.h>
int search(int* nums,int size,int target);
int main()
{
int num[10]={};
int i=0,j=0,S=0,K=0;
printf("please input number!\n");
for(i=0;i<10;i++)
{
scanf("%d",&num[i]);
}
......................
阅读全部
|
GST_1208
贴于 2021年11月12日 20:28
hide
bbsi