#include<iostream> using namespace std; const int N=1e5+5; int n,len=1; int a[N],b[N],dp[N],map[N];//mapA映射B,相当于A数组当标准,操作B数组,压缩为一个数组, int main(){ cin>>n; for(int i=1;i<=n;i++)cin>>a[i],map[a[i]]=i;//map映射 for(int i=1;i<=n;i+...
5411拜托抓紧涨涨吧,好几年了,血汗钱呀基民1E56516c1312-07 00:16 4811……基民6CZaw211-30 07:25 5330水平太差了。对不起清华二字。死去吧!基民nqlQRH11-21 00:48 4580对不起清华二字,人生回炉吃!基民nqlQRH11-19 23:37 4190公告易方达悦兴一年持有期混合型证券投资基金(易方达悦兴基金资讯11-08 08:26...
269 0 涨一个月,不够你这一天跌的 基民1E56516c13 11-02 08:44 231 0 什么玩意,跌了这么多 东财网友35825136 11-01 20:14 429 0 公告 大成成长进取混合型证券投资基金2024年第3季度报告 基金资讯 10-25 09:06 202 0 相比大多基金,这只算不错了。 基民M09RCU 10-17 15:31 266 0 真棒 基民...
const int N=1e5+10; int nums[N]; struct Edge { int to,w,next; }edge[N]; int dis[N]; bool vis[N]; int head[N],cnt; void add_edge(int u,int v,int w) { edge[++cnt].next=head[u]; edge[cnt].to=v; edge[cnt].w=w; head[u]=cnt; } void spfa() { for (int i=1...
IT 之家 1 月 9 日消息,雷蛇出席 CES 2024 大展,在推出新款灵刃 14/16 游戏本和第二代风神电竞椅之外,还推出了一些外设产品,包括 11 个端口 USB-C 扩展坞和全新 Razer Aether 显示器挂灯。USB-C 扩展坞 新款 Razer USB C Dock 建议零售价为 119.99 美元(当前约 859 元人民币),与售价 329.99...
WINDWOS下[1e5的数据量]: 使用解除绑定的cout : 30.719000 秒 , 29.518000 秒 , 29.446000 秒 不使用解除绑定cout : 51.749000 秒 , 49.383000 秒 , 47.605000 秒 C++文件的printf : 84.962000 秒 , 76.131000 秒 , 77.639000 秒 C语言文件的printf : 29.776000 秒 , 29.327000 秒 , 29.862000 秒 ...
const int N=1e5+10; int q[N],numbers,n,m; void down(int x){ int t=x; if(x*2<=numbers && q[x*2]<q[t]) t=x*2; if(x*2+1<=numbers && q[x*2+1]<q[t]) t=x*2+1; if(t!=x){ swap(q[t],q[x]); down(t); ...
1e5 ---> 1*10^5 2E6 ---> 2*10^6 2E-6 ---> 2*10^-6 注意:e/E 前后一定要有数字! e12→这是错的 e/E 的后面一定是一个整数!1e1.5→这是错误的 3、字符型常量 1、解释:以 ' ' 单引号 引起来的 2、分类: 可见字符: 'a' 'b' 'c' ...
// 砍树 #include <bits/stdc++.h> #define int int64_t #define endl '\n' using namespace std; const int MAX = 1e5+5; const int LOG = 20; const int INF = 0x3f3f3f3f3f3f3f3fll; const int MOD = 1e9+7; // 代码较长,建议从 solve 开始看 int lg2[MAX]; int depth[MAX]; in...
#include<bits/stdc++.h>usingnamespacestd;usingll =longlong;constintN =1e5+10;//题目最小最大值为10^5,int的范围是-2^9到2^9,所以不能用intll a[N];intn;intmain(){ ios::sync_with_stdio(false), cin.tie(nullptr); cout << fixed <<setprecision(20); cin >> n;for(inti =1; i ...