09 2020 档案
摘要:后端:javaEE+mysql+MVC模式前端:html(搭配jsp)+js+css网站功能:注册、登录、留言、显示留言实现:用script实现对输入的检查,后端返回数据库信息,css装饰页面,fonts提供字体 效果如图: 源码在这里:https://github.com/Charlottelem
阅读全文
摘要:更新:最近又遇上了这道题,不过要求只能用C语言,第二次做这道题的时候我发现了我之前犯的错误,不应该用float类型运算,题目要求就是整除 思路:用数组模拟栈,遇到‘x’和‘/’就运算,遇到‘-’取负值,最后把栈内的数字求和就行了 1 #include <stdio.h> 2 #include <st
阅读全文
摘要:1 #include <iostream> 2 #include <iomanip> 3 using namespace std; 4 5 int main() 6 { 7 int n,i,max=0,min=0,midf=0; 8 float mid=0; 9 cin >> n; 10 int a
阅读全文