当前位置: 首页 > news >正文

音乐中文网站模板百度 移动网站优化

音乐中文网站模板,百度 移动网站优化,做企业网站的前景,住建局查询房产信息VP比赛链接 : 数据加载中... - 蓝桥云课 1 . 九进制 转 十进制 直接模拟就好了 #include iostream using namespace std; int main() {// 请在此输入您的代码int x 22*92*81*9;cout x endl ;return 0; } 2 . 顺子日期 枚举出每个情况即可 : …VP比赛链接 :  数据加载中... - 蓝桥云课 1 . 九进制 转 十进制 直接模拟就好了 #include iostream using namespace std; int main() {// 请在此输入您的代码int x 22*92*81*9;cout x endl ;return 0; } 2 . 顺子日期 枚举出每个情况即可 : 总共14个 ; #include iostream using namespace std; int main() {// 请在此输入您的代码// 0120 0121 .. 29 : 10// 1月 : 10// 1012// 1123//1230// 1231cout 14 endl ;return 0; } 3 . 刷题统计 模拟即可 :  #includebits/stdc.h #define IOS ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define endl \n #define lowbit(x) (x(-x)) #define sz(a) (int)a.size() #define pb push_back #define all(a) a.begin(), a.end() #define int long long typedef long long LL;using namespace std;inline void solve(){LL a , b , n ; cin a b n ;LL x 5*a 2*b ;LL w n / x ;LL ans w * 7 ;n - w * x ;LL f n % x ;for(int i1;i5n0;i){n-a ; ans ;} for(int i1;i2n0;i){n - b ;ans ;}cout ans endl ; }signed main() {IOSint _ 1;while(_ --) solve();return 0; } 4 . 修剪灌木 对于每一颗灌木最大是2*(距离两边较大的距离 ) ; 然后遍历即可 :  #includebits/stdc.h #define IOS ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define endl \n #define lowbit(x) (x(-x)) #define sz(a) (int)a.size() #define pb push_back #define all(a) a.begin(), a.end() #define int long long typedef long long LL; const int mod 1e9 7; const int N 2e5 10;using namespace std;inline void solve() {int n ; cin n ;for(int i1;in;i){int ans max(2*(i-1),2*(n-i));cout ans endl ;} }signed main() {IOSint _ 1;while (_--) solve();return 0; } 5 . X进制减法 根据题目意思去模拟 对于每一位先计算数位max(2,max(a[i],b[i])1); 然后计算每一位的权重 : 由前面的地推过来即可 然后分别算出A和B的值相减即可 ; #includebits/stdc.h #define IOS ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define endl \n typedef long long LL; const int mod 1e97; const int N 1e510; using namespace std;// 321 // 第一位 1 // 3 * 20 2 * 2 1 * 1 64int a[N] , b[N] ,w[N], mul[N] ;inline void solve(){int n ; cin n ;int x, y ; cin x ;for(int ix;i1;i--) cin a[i] ;cin y ;for(int iy;i1;i--) cin b[i] ;//1是低位 int ma max(x , y) ;for(int i1;ima;i) mul[i] max(2,max(a[i],b[i])1) ;//每一位的进制 w[1] 1 ;for(int i2;ima;i){w[i] 1LL * w[i-1] * mul[i-1] % mod ;}LL A 0 , B 0 ;for(int i1;ix;i) A (A 1LL * a[i] * w[i] ) % mod ;for(int i1;iy;i) B (B 1LL * b[i] * w[i] ) % mod ;cout (A - B mod) % mod endl ; }signed main() {IOSint _ 1;while(_ --) solve();return 0; } 6 . 统计子矩阵 前缀和 滑动窗口 先计算出每一列的前缀和 然后用滑动窗口来夹每一列对于每个合适的窗口ans加上窗口长度 ; 详细请看代码 :  #includebits/stdc.h #define IOS ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define endl \n typedef long long LL; const int mod 1e97; const int N 510; using namespace std;LL a[N][N] ;inline void solve(){LL n,m,k;cinnmk;for(int i1;in;i)for(int j1;jm;j){cin a[i][j] ;a[i][j]a[i-1][j];// 统计每一列的前缀和 }LL ans 0 ;for(int i1;in;i){for(int ji;jn;j){// 夹中间LL sum 0 ;int l 1 , r 1 ;while(rm){sum a[j][r]-a[i-1][r] ;while(sumk){sum - a[j][l] - a[i-1][l] ;l ;}ans r - l 1 ;r ;}}}cout ans endl ; }signed main() {IOSint _ 1;while(_ --) solve();return 0; } 7 . 积木画 状态压缩dp,不会 8 . 扫雷 实属简单,模拟即可 :  #includebits/stdc.h #define IOS ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define endl \n typedef long long LL; const int mod 1e97; const int N 110; using namespace std;int a[N][N] ,b[N][N] ;int dx[8] {0,0,1,-1,1,1,-1,-1}; int dy[8] {1,-1,0,0,1,-1,1,-1};inline void solve(){int n , m ; cin n m ;for(int i1;in;i)for(int j1;jm;j)cin a[i][j] ;for(int i1;in;i){for(int j1;jm;j){if(a[i][j]1){b[i][j] 9 ;continue ;}int cnt 0 ;for(int p0;p8;p){int x i dx[p] , y j dy[p] ;if(x1xny1yma[x][y]1) cnt ;}b[i][j] cnt ;}}for(int i1;in;i){for(int j1;jm;j){cout b[i][j] ;}cout endl ;}}signed main() {IOSint _ 1;while(_ --) solve();return 0; } 后面两题不会,补;
http://www.pierceye.com/news/56022/

相关文章:

  • 私人订制网站建设佛山专业做网站
  • 婚纱摄影网站设计案例网站做的自适应体验差
  • 建湖网站建设公司深圳建筑工程公司排名
  • 胶州为企业做网站的公司打码网站怎么做接口
  • 网站设计专业就业方向有哪些盐城网站设计
  • 江苏省网站建设与管理历年自考试题长沙seo霜天
  • 动易 手机网站wordpress 取消重定向
  • 福州阿里巴巴网站建设云优化seo软件
  • 如何做网站进行推广2.2 网站建设的流程
  • 个性化网站淘宝客wordpress
  • 智慧团建网站官网电脑版建设网站功能定位
  • 个人做交通违章查询网站违法吗门店客户管理软件
  • 做爰网站視屏企业管理类的网站
  • 网站的首页标题在哪里设置的怎样制作网站后台
  • 浙江新地标建设集团网站盐城网站定制
  • 携程网站官网合肥能做网站的公司
  • 企业网站优化三层含义郑州服饰网站建设
  • 深圳 网站设网站开发和后期维护费用
  • joomla 多语言网站如何做网站menu菜单
  • 网站联盟系统正规网站做菠菜广告
  • zencart 一个产品网站下单公司营销网站怎么做
  • 丹东淘宝做网站昆明开发
  • 网站图标怎么下载企业网站建设方案 功能规划
  • 怎样做网络销售网站商城网站建设一般需要多少钱
  • 服装购物网站的建设与技术论文烟台软件优化网站
  • 网站 建设 流行 数据库中国企业信息公示系统
  • 网站没有icp备案是不是就是骗子建筑工程教育网
  • 网站制作工具推荐在线注册公司营业执照
  • 企业网站建设管理系统新网站如何做快照
  • 网站制作合同模板深圳做二维码网站