自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 子序列之和

http://acm.zzu.edu.cn/problem.php?cid=1042&pid=3求出每个数字的贡献即可#include<bits/stdc++.h>using namespace std;typedef long long ll;const int M=1e9+7; const int N=1e6+5;int a[N];ll ans;int main(){ int n; cin>>n; int s=pow(2,n-1); for(

2021-03-30 09:52:12 193

原创 2-----------案例一

1、初始化2、头部index.wxss/**头部布局**/.header{width:750rpx;height:90rpx;}.hdcon{display:flex;justify-content:space-between;align-items:center;height:100%;}/**两张图片放在一行**/.hdcon navigator,.hdcon .kefu{height:50rpx;}.hdcon image{height:100%;}.kefu{position:re

2021-03-09 19:57:15 8375

原创 微信小程序云开发调用 腾讯云AI 图像标签

本白菜在开发微信小程序调用腾讯云AI图像标签产品时,遇到了问题,自己琢磨了三天,搜遍了能搜的东西,还是没有解决。下边记录一下 调用过程1、首先进入https://cloud.tencent.com/document/api/865/35471使用这个在线生成代码2、在云函数目录下的index.js 中// 云函数入口文件const cloud = require('wx-server-sdk')cloud.init({ env: "你的环境变量"})(1)填入环境变量(2)在云函数

2021-03-09 12:02:30 1276 3

原创 float类型和 double类型 c语言的输入输出

1、float 输入scanf("%f",&a)float输出printf("%f",a)2、double 输入scanf("%lf",&a)double 输出printf("%f",a);

2021-03-08 12:52:05 3878 1

原创 25--------------------string转Int 用 stoi 函数,int 转string用 to_string 函数

1、string 转 int 用stoi函数#include<bits/stdc++.h>using namespace std;typedef long long ll;int main(){ string s="123"; cout<<stoi(s)<<endl; return 0;}2、int 转 string 用 to_string 函数#include<bits/stdc++.h>using namespace std;

2021-03-02 09:46:21 153

05 Ciso模拟器连接腾讯云物联网开发平台

05 Ciso模拟器连接腾讯云物联网开发平台

2024-01-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除