webhook: requestbin
A Runscope Community Project — Learn more.
Bin URL
Make a request to get started. After making a request, refresh this page to see it.
cURL
curl -X POST -d "fizz=buzz" http://requestb.in/y0qofsy0
Python (with Requests)
import requests, time
r = requests.post('http://requestb.in/y0qofsy0', data={"ts":time.time()})
print r.status_code
print r.content
Node.js (with request)
var request = require('request');
var url ='http://requestb.in/y0qofsy0'
request(url, function (error, response, body) {
if (!error) {
console.log(body);
}
});
Ruby
require 'open-uri'
result = open('http://requestb.in/y0qofsy0')
result.lines { |f| f.each_line {|line| p line} }
C# / .NET (4.5+)
using System;
using System.Net.Http;
using System.Threading.Tasks; namespace RequestBinExample
{
class Program
{
static void Main(string[] args)
{
var task = MakeRequest();
task.Wait(); var response = task.Result;
var body = response.Content.ReadAsStringAsync().Result;
Console.WriteLine(body);
} private static async Task<HttpResponseMessage> MakeRequest()
{
var httpClient = new HttpClient();
return await httpClient.GetAsync(new Uri("http://requestb.in/y0qofsy0"));
}
}
}
Java
import org.apache.commons.httpclient.*;
import org.apache.commons.httpclient.methods.*;
import org.apache.commons.httpclient.params.HttpMethodParams; import java.io.*; public class RequestBinTutorial {
public static void main(String[] args) {
HttpClient client = new HttpClient();
GetMethod method = new GetMethod("http://requestb.in/y0qofsy0");
try {
int statusCode = client.executeMethod(method);
byte[] responseBody = method.getResponseBody();
System.out.println(new String(responseBody));
} catch (Exception e) {
System.err.println("Fatal error: " + e.getMessage());
e.printStackTrace();
} finally {
method.releaseConnection();
}
}
}
PHP
<?php
$result = file_get_contents('http://requestb.in/y0qofsy0');
echo $result;
?>
Limits
This bin will keep the last 20 requests made to it and remain available for 48 hours after it was created. However, data might be cleared at any time, so treat bins as highly ephemeral.
Need more?
Runscope request captures give you RequestBins with live updates, permanent URLs, file handling and much more. Sign up free.
RequestBin is brought to you by Runscope.
Global API Monitoring
Check uptime and performance of your APIs from around the world or behind your firewall. Get notified of downtime before your customers complain.
Functional API Testing
Verify your APIs are working correctly. Create functional tests to validate the structure and content of your most critical API workflows.
Well-connected
Runscope integrates with the tools you're already using like Slack, DataDog, Splunk, HipChat, PagerDuty, New Relic Insights, Swagger, AWS API Gateway, Jenkins and more.
Monitoring You Can Trust
Trusted by over 80,000 developers, Runscope is used by 1,000s of companies around the world to detect and prevent costly API downtime.
© 2017 Runscope Inc. - Privacy Policy - Terms of Service
A Runscope Community Project — Learn more.
POST
/y0qofsy0
9 bytes
From 1.180.212.187, 108.162.215.245
FORM/POST PARAMETERS
fizz: buzz
HEADERS
X-Request-Id: b3b42d3a-cf2a-47dc-aade-341eb717613a
Connect-Time: 1
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Total-Route-Time: 0
Content-Type: application/x-www-form-urlencoded
Cf-Ray: 3296551ef2462246-LAX
Connection: close
User-Agent: curl/7.49.1
Via: 1.1 vegur
Accept: */*
Content-Length: 9
Cf-Ipcountry: CN
Cf-Connecting-Ip: 1.180.212.187
RAW BODY
fizz=buzz
POST
/y0qofsy0
9 bytes
From 1.180.212.187, 108.162.215.249
FORM/POST PARAMETERS
fizz: buzz
HEADERS
X-Request-Id: 7d83b05b-d84a-45fa-931e-21c9e63b7b84
Total-Route-Time: 0
Cf-Ipcountry: CN
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Connect-Time: 0
Content-Type: application/x-www-form-urlencoded
Cf-Ray: 329654ea40165372-LAX
Connection: close
Via: 1.1 vegur
Accept: */*
Content-Length: 9
User-Agent: curl/7.49.1
Cf-Connecting-Ip: 1.180.212.187
RAW BODY
fizz=buzz
GET
/y0qofsy0
0 bytes
From 1.180.212.187, 108.162.215.248
FORM/POST PARAMETERS
None
HEADERS
X-Request-Id: 23573bd4-6478-4398-a834-a230118c007c
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Total-Route-Time: 0
Upgrade-Insecure-Requests: 1
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Connect-Time: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Connection: close
Via: 1.1 vegur
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Cf-Ray: 32965490d23a0d55-LAX
Cookie:
__cfduid=d104067c702039b2d98328d1682d0371f1485714014;
session=eyJyZWNlbnQiOlsieTBxb2ZzeTAiXX0.C3D8WA.XGIM1dVMDdkEyH7g8e16lenWSs0;
_ga=GA1.2.2049448936.1485714017
Cf-Ipcountry: CN
Cf-Connecting-Ip: 1.180.212.187
RAW BODY
None
GET
/y0qofsy0
0 bytes
From 1.180.212.187, 108.162.215.246
FORM/POST PARAMETERS
None
HEADERS
X-Request-Id: cf395b91-0980-481e-81e5-9c4527a241e5
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Total-Route-Time: 0
Upgrade-Insecure-Requests: 1
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Connect-Time: 2
Cache-Control: max-age=0
Connection: close
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Via: 1.1 vegur
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Cf-Ray: 3296536600752306-LAX
Cookie:
__cfduid=d104067c702039b2d98328d1682d0371f1485714014;
session=eyJyZWNlbnQiOlsieTBxb2ZzeTAiXX0.C3D8Vg.ESyPrOfl-hqw-_AoGx0JPgJGR4o;
_ga=GA1.2.2049448936.1485714017
Cf-Ipcountry: CN
Cf-Connecting-Ip: 1.180.212.187
RAW BODY
None
GET
/y0qofsy0
0 bytes
From 1.180.212.187, 108.162.215.246
FORM/POST PARAMETERS
None
HEADERS
X-Request-Id: 0021e097-c186-4281-8ee3-5900130f34d8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Total-Route-Time: 0
Upgrade-Insecure-Requests: 1
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Connect-Time: 1
Cache-Control: max-age=0
Connection: close
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Via: 1.1 vegur
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Cf-Ray: 32965353d2512306-LAX
Cookie:
__cfduid=d104067c702039b2d98328d1682d0371f1485714014;
session=eyJyZWNlbnQiOlsieTBxb2ZzeTAiXX0.C3D8Uw.7zz27D9M8GpTcwE3q8gzkMqvoDY;
_ga=GA1.2.2049448936.1485714017
Cf-Ipcountry: CN
Cf-Connecting-Ip: 1.180.212.187
RAW BODY
None
GET
/y0qofsy0
0 bytes
From 1.180.212.187, 108.162.215.246
FORM/POST PARAMETERS
None
HEADERS
X-Request-Id: 97560799-5146-4225-8cbc-5e9406177c6c
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Total-Route-Time: 0
Upgrade-Insecure-Requests: 1
Host: requestb.in
Accept-Encoding: gzip
Cf-Ray: 3296534aa3a02306-LAX
Connect-Time: 0
Cache-Control: max-age=0
Connection: close
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Via: 1.1 vegur
Cf-Visitor: {"scheme":"http"}
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Cookie:
__cfduid=d104067c702039b2d98328d1682d0371f1485714014;
session=eyJyZWNlbnQiOlsieTBxb2ZzeTAiXX0.C3D8UQ.wXieMIAiuYaDWVfRKosSmVh2WiU;
_ga=GA1.2.2049448936.1485714017
Cf-Ipcountry: CN
Cf-Connecting-Ip: 1.180.212.187
RAW BODY
None
GET
/y0qofsy0
0 bytes
From 1.180.212.187, 108.162.215.246
FORM/POST PARAMETERS
None
HEADERS
X-Request-Id: 2c4db87d-e676-4db7-be81-678500a0538a
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Total-Route-Time: 0
Upgrade-Insecure-Requests: 1
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Connect-Time: 1
Cache-Control: max-age=0
Connection: close
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Via: 1.1 vegur
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Cf-Ray: 3296533a674c2306-LAX
Cookie:
__cfduid=d104067c702039b2d98328d1682d0371f1485714014;
session=eyJyZWNlbnQiOlsieTBxb2ZzeTAiXX0.C3D8Tg.s8DO677wWFDRaqBq2D8DS5gtoFM;
_ga=GA1.2.2049448936.1485714017
Cf-Ipcountry: CN
Cf-Connecting-Ip: 1.180.212.187
RAW BODY
None
GET
/y0qofsy0
0 bytes
From 1.180.212.187, 108.162.215.246
FORM/POST PARAMETERS
None
HEADERS
X-Request-Id: b7d51c21-760a-485b-946d-404f7d8d4518
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Total-Route-Time: 0
Upgrade-Insecure-Requests: 1
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Connect-Time: 1
Cache-Control: max-age=0
Connection: close
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Via: 1.1 vegur
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Cf-Ray: 32965326e0e12306-LAX
Cookie:
__cfduid=d104067c702039b2d98328d1682d0371f1485714014;
session=eyJyZWNlbnQiOlsieTBxb2ZzeTAiXX0.C3D4XQ.gfhMONEVbHdYYNYIZN4Ytp4qGks;
_ga=GA1.2.2049448936.1485714017
Cf-Ipcountry: CN
Cf-Connecting-Ip: 1.180.212.187
RAW BODY
None
POST
/y0qofsy0
629 bytes
From 52.204.105.43, 162.158.78.183
FORM/POST PARAMETERS
None
HEADERS
X-Request-Id: 4e22a01f-a268-4969-aaa4-4dd429d3858d
Total-Route-Time: 0
X-Newrelic-Id: UQUFVFJUGwUJVlhaBgY=
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Connect-Time: 0
Content-Type: application/json
Cf-Ipcountry: US
Accept: */*
Via: 1.1 vegur
Connection: close
X-Newrelic-Transaction: PxQHUVUACVUAVlhaBwZWXwAIFB8EBw8RVU4aUggLVwNVVQtYCVEEA11SDkNKQV1SVVwHAAECFTs=
Cf-Ray: 329651c1c273087a-IAD
Content-Length: 629
User-Agent: python-requests/2.11.1
Cf-Connecting-Ip: 52.204.105.43
RAW BODY
{"push_data": {"pushed_at": 1485793940, "images": [], "tag": "helloworld2", "pusher": "alexyuyu"}, "callback_url": "https://registry.hub.docker.com/u/alexyuyu/webapp/hook/2if02a0e4iedf4fchf1h5fdfii4c4j00f/", "repository": {"status": "Active", "description": "webapp: python2.7+flask", "is_trusted": false, "full_description": "webapp: python2.7+flask: hello world", "repo_url": "https://hub.docker.com/r/alexyuyu/webapp", "owner": "alexyuyu", "is_official": false, "is_private": false, "name": "webapp", "namespace": "alexyuyu", "star_count": 0, "comment_count": 0, "date_created": 1485709674, "repo_name": "alexyuyu/webapp"}}
GET
/y0qofsy0
0 bytes
From 1.180.212.187, 108.162.215.249
FORM/POST PARAMETERS
None
HEADERS
X-Request-Id: bd835fdf-9fea-49ab-aa6d-2239e1c5f7a1
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Total-Route-Time: 0
Upgrade-Insecure-Requests: 1
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Connect-Time: 0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Connection: close
Via: 1.1 vegur
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Cf-Ray: 32963a86a73f20ba-LAX
Cookie:
__cfduid=d104067c702039b2d98328d1682d0371f1485714014;
session=eyJyZWNlbnQiOlsieTBxb2ZzeTAiXX0.C3Dw9A.uMw_h5cnuRRdN02CrWEv1fNS6Sw;
_ga=GA1.2.2049448936.1485714017
Cf-Ipcountry: CN
Cf-Connecting-Ip: 1.180.212.187
RAW BODY
None
POST
/y0qofsy0
16 bytes
From 1.180.212.187, 108.162.215.246
FORM/POST PARAMETERS
ts: 1485791318.69
HEADERS
X-Request-Id: 3cb122a9-533c-4bb5-8e3a-cd5c9208433c
Total-Route-Time: 0
Cf-Ipcountry: CN
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Connect-Time: 1
Content-Type: application/x-www-form-urlencoded
Cf-Ray: 329611c0272a5420-LAX
Connection: close
Via: 1.1 vegur
Accept: */*
Content-Length: 16
User-Agent: python-requests/2.13.0
Cf-Connecting-Ip: 1.180.212.187
RAW BODY
ts=1485791318.69
GET
/y0qofsy0
0 bytes
From 1.180.212.187, 108.162.215.249
FORM/POST PARAMETERS
None
HEADERS
X-Request-Id: a194a521-cac8-4824-9132-a5334fdd023f
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Total-Route-Time: 0
Upgrade-Insecure-Requests: 1
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Connect-Time: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Connection: close
Via: 1.1 vegur
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Cf-Ray: 32960c3867f422d0-LAX
Cookie:
__cfduid=d104067c702039b2d98328d1682d0371f1485714014;
session=eyJyZWNlbnQiOlsieTBxb2ZzeTAiXX0.C3Dvuw.jef4RRjRNAz6yTexIyBZZUk8YAc;
_ga=GA1.2.2049448936.1485714017; _gat=1
Cf-Ipcountry: CN
Cf-Connecting-Ip: 1.180.212.187
RAW BODY
None
POST
/y0qofsy0
9 bytes
From 1.180.212.187, 108.162.215.249
FORM/POST PARAMETERS
fizz: buzz
HEADERS
X-Request-Id: 91076775-eff2-4bc7-99df-20ccd8de5bc0
Total-Route-Time: 0
Cf-Ipcountry: CN
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Connect-Time: 0
Content-Type: application/x-www-form-urlencoded
Cf-Ray: 32960b7434392240-LAX
Connection: close
Via: 1.1 vegur
Accept: */*
Content-Length: 9
User-Agent: curl/7.49.1
Cf-Connecting-Ip: 1.180.212.187
RAW BODY
fizz=buzz
Limits
This bin will keep the last 20 requests made to it and remain available for 48 hours after it was created. However, data might be cleared at any time, so treat bins as highly ephemeral.
Need more?
Runscope request captures give you RequestBins with live updates, permanent URLs, file handling and much more. Sign up free.
RequestBin is brought to you by Runscope.
Global API Monitoring
Check uptime and performance of your APIs from around the world or behind your firewall. Get notified of downtime before your customers complain.
Functional API Testing
Verify your APIs are working correctly. Create functional tests to validate the structure and content of your most critical API workflows.
Well-connected
Runscope integrates with the tools you're already using like Slack, DataDog, Splunk, HipChat, PagerDuty, New Relic Insights, Swagger, AWS API Gateway, Jenkins and more.
Monitoring You Can Trust
Trusted by over 80,000 developers, Runscope is used by 1,000s of companies around the world to detect and prevent costly API downtime.
© 2017 Runscope Inc. - Privacy Policy - Terms of Service
POST
/y0qofsy0
629 bytes
From 52.204.105.43, 162.158.78.183
FORM/POST PARAMETERS
None
HEADERS
X-Request-Id: 4e22a01f-a268-4969-aaa4-4dd429d3858d
Total-Route-Time: 0
X-Newrelic-Id: UQUFVFJUGwUJVlhaBgY=
Host: requestb.in
Accept-Encoding: gzip
Cf-Visitor: {"scheme":"http"}
Connect-Time: 0
Content-Type: application/json
Cf-Ipcountry: US
Accept: */*
Via: 1.1 vegur
Connection: close
X-Newrelic-Transaction: PxQHUVUACVUAVlhaBwZWXwAIFB8EBw8RVU4aUggLVwNVVQtYCVEEA11SDkNKQV1SVVwHAAECFTs=
Cf-Ray: 329651c1c273087a-IAD
Content-Length: 629
User-Agent: python-requests/2.11.1
Cf-Connecting-Ip: 52.204.105.43
RAW BODY
{"push_data": {"pushed_at": 1485793940, "images": [], "tag": "helloworld2", "pusher": "alexyuyu"}, "callback_url": "https://registry.hub.docker.com/u/alexyuyu/webapp/hook/2if02a0e4iedf4fchf1h5fdfii4c4j00f/", "repository": {"status": "Active", "description": "webapp: python2.7+flask", "is_trusted": false, "full_description": "webapp: python2.7+flask: hello world", "repo_url": "https://hub.docker.com/r/alexyuyu/webapp", "owner": "alexyuyu", "is_official": false, "is_private": false, "name": "webapp", "namespace": "alexyuyu", "star_count": 0, "comment_count": 0, "date_created": 1485709674, "repo_name": "alexyuyu/webapp"}}


webhook: requestbin的更多相关文章
- 什么是webhook
什么是webhook 翻译,原文地址:https://sendgrid.com/blog/webhook-vs-api-whats-difference/ 一.概述 Webhook是一个API概念,并 ...
- 如何让Targetprocess 中 webhook 推送comment 到指定的项目
Targetprocess 作为Agile管理工具非常好使.我们用TP + bearychat来做任务的沟通. TP目前是不支持comment push到指定的项目,因为其带出的字段中没有相关项目.但 ...
- 在windows下,git webhook使用php拉取代码的学习总结
原来上传代码到测试服务器都是用ftp,我觉得这种方式很低效,而且容易出错,比如忘记传某个修改过文件. 现在项目的代码放在了git@osc上了,想使用他webhook,每当有push的时候,git@os ...
- What is Webhook ( Introduction to Webhook )
A webhook in web development is a method of augmenting or altering the behavior of a web page, or we ...
- jenkins coding.net webhook plugin
开源地址: https://github.com/yuzd/coding.net =========================================================== ...
- jenkins+webhook+docker做持续集成
简介:我们现在都流行把项目封装成docker的镜像,不过实际用的时候就会发现很麻烦,我们每次更改代码了以后都要打包成docker容器 ,事实证明项目比较多的时候真的会让人崩溃,我这边用spring c ...
- Gitlab使用Webhook实现Push代码自动部署
1.Jenkins 安装完成以后,首先我们在Jenkins中需要安装一下,Gitlab Hook Plugin 插件: 2.插件安装完成我们创建任务,在任务重构建触发器下获取回调URL: 注意: 注意 ...
- 钉钉 机器人接入 自定义webhook
钉钉出了个webhook机器人接入,自定义的机器人支持随时post消息到群里: 昨天就尝试着用C#写了个: 一开始用python写,但是莫名的提示 {"errmsg":" ...
- gitlab与jenkins的自动化部署(通过webhook与ansilble)
gitlab与jenkins的自动化部署(通过webhook与ansilble) 1.部署介绍 gitlab服务器:192.168.1.49:80jenkins服务器:192.168.1.49:818 ...
随机推荐
- SQL其他常用的语句
阅读目录 一:汇总数据 1.理解AVG函数 2.理解COUNT()函数 3.理解max()函数 4.理解min()函数 5.理解sum()函数 二:分组数据 1 创建分组(group by) 2 HA ...
- Linux内存管理 (9)mmap(补充)
之前写过一篇简单的介绍mmap()/munmap()的文章<Linux内存管理 (9)mmap>,比较单薄,这里详细的梳理一下. 从常用的使用者角度介绍两个函数的使用:然后重点是分析内核的 ...
- xcode8 使用Instruments检测定位并解决iOS内存泄露
https://www.jianshu.com/p/9bc7e65fc247 2017.07.27 17:24* 字数 628 阅读 1319评论 6喜欢 21 简介: 虽然苹果出了ARC(自动内存管 ...
- JVM内存区域详解
本文分为两部分:一是JVM内存区域的讲解:二是常见的内存溢出异常分析. 1.JVM内存区域 java虚拟机在执行java程序的过程中会把它管理的内存划分为若干个不同的数据区域,这些区域都有各自的用途, ...
- AngularJS 1.x系列:Node.js安装及npm常用命令(1)
1. Node.js安装 1.1 Node.js下载 Node.js官网:https://nodejs.org 当前下载版本(含npm):Latest LTS Version: v6.10.3 (in ...
- python json数据的转换
1 Python数据转json字符串 import json json_str = json.dumps(py_data) 参数解析: json_str = json.dumps(py_data,s ...
- QT出现应用程序无法正常启动0xc000007b的错误
最近做了一个成绩管理系统,打包好后,运行他的exe可执行文件时,出现了如下图的错误提示: 在网上查阅了很多资料,其中有篇文章给了我很大的启示和帮助,文章地址http://www.cnblogs.com ...
- python控制台输出带颜色的文字方法
#格式: 设置颜色开始 :\033[显示方式;前景色;背景色m 注意:开头部分的三个参数:显示方式,前景色,背景色是可选参数,可以只写其中的某一个:另外由于表示三个参数不同含义的数值都是唯一的没有 ...
- Ceph分布式存储(luminous)部署文档-ubuntu18-04
Ceph分布式存储(luminous)部署文档 环境 ubuntu18.04 ceph version 12.2.7 luminous (stable) 三节点 配置如下 node1:1U,1G me ...
- 牛客网 223C 区区区间间间(单调栈)
题目链接:区区区间间间 题意:给出长度为n的数字序列ai,定义区间(l,r)的价值为, 请你计算出. 题解:单调栈求ai左边和右边第一个比它小的位置,需要减去ai的个数为$(R_i-i+1)*(i-L ...