当前位置:网站首页>PAT甲级 1029 Median
PAT甲级 1029 Median
2022-07-03 07:34:00 【九是否非随机的称呼】
#include<iostream>
#include<vector>
#include<bits/stdc++.h>
using namespace std;
int main(int argc, char **argv){
int i, j, k, m, n, w;
cin>>m;
vector<int> v, v0;
for(i=0; i<m; i++){
cin>>n;
v.push_back(n);
}
cin>>m;
for(i=0; i<m; i++){
cin>>n;
v.push_back(n);
}
sort(v.begin(), v.end());
cout<<v[(int)((v.size()-1)/2)];
}边栏推荐
- Es writing fragment process
- Analysis of the eighth Blue Bridge Cup single chip microcomputer provincial competition
- Beginners use Minio
- VMWare网络模式-桥接,Host-Only,NAT网络
- Lombok cooperates with @slf4j and logback to realize logging
- New stills of Lord of the rings: the ring of strength: the caster of the ring of strength appears
- Arduino Serial系列函数 有关print read 的总结
- 技术干货 | AlphaFold/ RoseTTAFold开源复现(2)—AlphaFold流程分析和训练构建
- 技术干货|昇思MindSpore NLP模型迁移之LUKE模型——阅读理解任务
- 为什么说数据服务化是下一代数据中台的方向?
猜你喜欢

【开发笔记】基于机智云4G转接板GC211的设备上云APP控制

Introduction of buffer flow

Use of generics

Use of file class

Technology dry goods | luxe model for the migration of mindspore NLP model -- reading comprehension task
![[mindspire paper presentation] summary of training skills in AAAI long tail problem](/img/34/9c9ec1b94edeecd4a3e7f20fdd8356.png)
[mindspire paper presentation] summary of training skills in AAAI long tail problem

Why is data service the direction of the next generation data center?

C code production YUV420 planar format file

技术干货|关于AI Architecture未来的一些思考

Homology policy / cross domain and cross domain solutions /web security attacks CSRF and XSS
随机推荐
截图工具Snipaste
Hnsw introduction and some reference articles in lucene9
TCP cumulative acknowledgement and window value update
Epoll related references
技术干货|昇思MindSpore NLP模型迁移之Roberta ——情感分析任务
图像识别与检测--笔记
Arduino 软串口通信 的几点体会
Technical dry goods Shengsi mindspire lite1.5 feature release, bringing a new end-to-end AI experience
技术干货 | AlphaFold/ RoseTTAFold开源复现(2)—AlphaFold流程分析和训练构建
Read config configuration file of vertx
Beginners use Minio
Analysis of the problems of the 10th Blue Bridge Cup single chip microcomputer provincial competition
Map interface and method
Paper learning -- Study on the similarity of water level time series of Xingzi station in Poyang Lake
【MindSpore论文精讲】AAAI长尾问题中训练技巧的总结
Technology dry goods | luxe model for the migration of mindspore NLP model -- reading comprehension task
I. D3.js hello world
FileInputStream and fileoutputstream
Take you through the whole process and comprehensively understand the software accidents that belong to testing
Common operations of JSP
https://github.com/ZouJiu1/PAT