摘要:
1.创建用户并授权 创建用户user,密码为:mypassword,其可以本地登录,并可以访问任何数据库 grant all privileges on *.* to 'user'@'localhost' identified by 'mypassword'; 本地授权 创建用户user,密码为:m 阅读全文
摘要:
//合法的出栈队列 //已知从1至n的数字序列,按顺序入栈,每个数字入栈后即可出栈,也可在栈中停留, //等待后面的数字入栈出栈后,该数字在出栈,求该数字序列的出栈序列是否合法 #include<iostream> #include<stack> #include<queue> using name 阅读全文