- 博客(14)
- 收藏
- 关注
原创 承接Web网站开发业务
可采用spring boot 结合mybatis等。可采用普通Html+Css+JavaScript。可使用框架Layui 或者 Ruoyi 等。
2023-01-24 17:20:23
213
原创 蓝桥杯:基础练习 圆的面积(Π )
题目:http://lx.lanqiao.cn/problem.page?gpid=T3思路:atan函数的作用是求三角函数tan的反函数tan π/4=1, 所以 atan( 1 ) = π/4 , PI=atan(1)*4#include<iostream>#include<iomanip> //格式控制头文件#include<cmath> //atan头文件using namespace std;#define m atan(1.0..
2021-04-17 20:07:05
211
原创 蓝桥杯:基础练习 fibonacci数列
题目:http://lx.lanqiao.cn/problem.page?gpid=T4#submitpanel思路:Fibonacci数列,计算到后面出现指数级别的增长,所以对它进行取模运算有两种方法:1.先整体计算后取模;2.先分别取模,之后再相加具体选哪个,看数据范围要求//记忆化递归,空间换时间,降低时间复杂度。#include<iostream>using namespace std;int main(){ int n; cin>>n;
2021-04-17 19:43:21
535
原创 蓝桥杯:基础练习 01字串(printf格式控制、cout格式控制、sprintf、itoa)
题目:http://lx.lanqiao.cn/problem.page?gpid=T6#include<iostream>#include<stdlib.h>#include<cstring>using namespace std; int main(){ for(int i=0;i<32;i++){ char s[10]; string str = ""; itoa(i,s,2); //itoa(整型数, 字符数组,...
2021-04-15 18:46:36
378
原创 蓝桥杯:基础练习 字母图形
题目:http://lx.lanqiao.cn/problem.page?gpid=T7#include<iostream>#include<cstring>using namespace std; int main(){ int n,m; cin >> n >> m; string str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; for(int i=0; i<n; i++){ for(int j.
2021-04-15 17:42:32
87
原创 蓝桥杯:基础练习 杨辉三角形
题目:http://lx.lanqiao.cn/problem.page?gpid=T10# include<stdio.h>int main(){ int n, i, j; /*i是行,j是列*/ scanf("%d", &n); int a[34][34]; if(n==1){ printf("1"); } if(n==2){ printf("1\n"); pri.
2021-04-15 16:55:48
114
原创 蓝桥杯:基础练习 特殊的数字(参考回文数)
题目:http://lx.lanqiao.cn/problem.page?gpid=T46//参考 特殊的回文数#include<iostream> using namespace std; int main(){ for(int i=100; i<1000; i++){ int a = i % 10; int b = i / 10 % 10; int c = i / 100; if( a*a*a + b*b*b + c*c*c == i) .
2021-04-15 16:43:15
86
原创 蓝桥杯:基础练习 特殊回文数
题目:http://lx.lanqiao.cn/problem.page?gpid=T48//三层暴力循环,超时//40分#include<iostream>using namespace std;int main(){ int n; scanf("%d", &n); int ans = 0; for(int i=1; i<=9; i++){ ans += 2*i; for(int j=0; j<=9; j++){ ans +
2021-04-15 11:26:21
84
原创 蓝桥杯:基础练习 十六进制转八进制
参考:https://www.cnblogs.com/-citywall123/p/9936971.html题目:http://lx.lanqiao.cn/problem.page?gpid=T51#include <iostream>#include <string>using namespace std; int main(){ int n; cin>>n; for(int k=1;k<=n;k++) ..
2021-04-14 21:32:38
83
原创 web实验中遇到的问题及解决方案
端口占用问题1.Win+R 打开运行 ,输入cmd 打开命令行窗口 。2.在命令行下输入:netstat -aon ,找到占用8080的项目。3.打开任务管理器,点击详细信息将占用8080的项目停止运行。导入项目报“The type java.lang.String cannot be resolved. It is indirectly referenced from required .clas”1.项目上右键选择 Properties --> Java Bulid Path
2021-01-03 17:13:13
3073
1
原创 实验五 大学数据库系统中,使用游标编写存储过程,输入学号查询成绩
1游标的使用create procedure query @sid varchar(5) --student idas begin declare @sname varchar(20) declare @course_id varchar(8) declare @ctitle varchar(50) declare @semester varchar(6) declare @year numeric(4,0) declare @cgrade varchar(2.
2020-11-16 22:55:31
3557
1
原创 解决ie浏览器打不开网页,其他浏览器都可以正常打开网页的问题
这种情况应该是浏览器设置bai了代理导致。1、打开IE,点击“工具”点击“Internet选项”。2、点击“连接”选项卡,点击“局域网设置”。3、将“使用自动配置脚本”的勾选取消,点击“确定”按钮,重新打开IE解决。...
2020-11-10 21:40:52
16444
2
原创 数据库实验四 (作业5.6)【触发器】
定义一个触发器,实现学生选课总学分的完整性控制:当向SC表插入一行选课记录时, 自动将该课程的学分累加到该学生的总学分中1.定义触发器CREATE TRIGGER tr_INSERT ON SC FOR INSERT AS --声明变量 DECLARE @sno char(8) DECLARE @cridit int DECLARE @cno char(4) --提取插入的数据 SELECT @sno=Sno,@cno=Cno FROM inserted --提取课程学分 SE
2020-11-09 17:44:13
7604
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人