摘要: 论算法优化的重要性 要有分析算法时间复杂度的潜意识,慢慢培养。 别总是上来暴力,还有可怕的两层循环2333qwq The Bureau for Artificial Problems in Competitions wants you to solve the following problem: 阅读全文
posted @ 2020-03-17 20:50 龙龙666666 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Your brother has won an award at the recent Breakthroughs in Architectural Problems Conference and has been given the once in a lifetime opportunity o 阅读全文
posted @ 2020-03-17 20:32 龙龙666666 阅读(127) 评论(1) 推荐(0) 编辑
摘要: printf("%5d",number); meaning:表示如果得数字没有5位的话,会以空格来补齐;如果数字超过5位的话,会保留5位有效数字输出! 实现每个数字占5个字符宽度。 #include<iostream> using namespace std; int main() { int a, 阅读全文
posted @ 2020-03-17 19:51 龙龙666666 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 名单就是姓名。 学生名单就是学生姓名。 还是先在熟悉的 学生-学习-课程表进行查询讨论训练,2333! 学生(学号,姓名,性别,年龄,籍贯,出生年月,学院) 课程(课程号,课程名,学时,开课学期,先行课,学分,课程性质) 学习(学号,课程号,成绩) 1.查询至少选修课程名为'数据库原理'和'操作系统 阅读全文
posted @ 2020-03-17 14:34 龙龙666666 阅读(1776) 评论(1) 推荐(0) 编辑