✎
编程开发网
首页
C语言
C++
面试
Linux
函数
Windows
数据库
下载
搜索
当前位置:
首页
->
基础
->
c++编程基础
CF 315B(Sereja and Array-峰顶距离统计) (二)
2014-11-24 01:07:56
·
作者:
·
浏览:
12
标签:
315B
Sereja
and
Array-
峰顶
距离
统计
}
For(i,m)
{
int type;
scanf("%d",&type);
if (type==1)
{
int v,x;
scanf("%d%d",&v,&x);
a[v]+=x-(a[v]+tmp);
}
else if (type==2)
{
int w;
cin>>w;
tmp+=w;
}
else
{
int v;
scanf("%d",&v);
cout<
}
}
return 0;
}
首页
上一页
1
2
下一页
尾页
2
/2/2