当前位置:网站首页>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)];
}边栏推荐
- 【开发笔记】基于机智云4G转接板GC211的设备上云APP控制
- docket
- Unified handling and interception of exception exceptions of vertx
- Responsive MySQL of vertx
- 技术干货|昇思MindSpore Lite1.5 特性发布,带来全新端侧AI体验
- 《指环王:力量之戒》新剧照 力量之戒铸造者亮相
- Understanding of class
- 技术干货|昇思MindSpore创新模型EPP-MVSNet-高精高效的三维重建
- 【MySQL 14】使用DBeaver工具远程备份及恢复MySQL数据库(Linux 环境)
- c语言指针的概念
猜你喜欢

TCP cumulative acknowledgement and window value update

Topic | synchronous asynchronous

Technology dry goods | luxe model for the migration of mindspore NLP model -- reading comprehension task

Qtip2 solves the problem of too many texts
![[set theory] Stirling subset number (Stirling subset number concept | ball model | Stirling subset number recurrence formula | binary relationship refinement relationship of division)](/img/d8/b4f39d9637c9886a8c81ca125d6944.jpg)
[set theory] Stirling subset number (Stirling subset number concept | ball model | Stirling subset number recurrence formula | binary relationship refinement relationship of division)

IO stream system and FileReader, filewriter

New stills of Lord of the rings: the ring of strength: the caster of the ring of strength appears

项目经验分享:实现一个昇思MindSpore 图层 IR 融合优化 pass

Custom generic structure

技术干货|昇思MindSpore NLP模型迁移之Bert模型—文本匹配任务(二):训练和评估
随机推荐
The difference between typescript let and VaR
Leetcode 213: 打家劫舍 II
Technical dry goods | alphafold/ rosettafold open source reproduction (2) - alphafold process analysis and training Construction
Lucene hnsw merge optimization
Technical dry goods | reproduce iccv2021 best paper swing transformer with Shengsi mindspire
Longest common prefix and
技术干货|昇思MindSpore初级课程上线:从基本概念到实操,1小时上手!
Reconnaissance et détection d'images - Notes
The babbage industrial policy forum
Various postures of CS without online line
Homology policy / cross domain and cross domain solutions /web security attacks CSRF and XSS
Jeecg menu path display problem
TreeMap
Common architectures of IO streams
Vertx multi vertical shared data
The concept of C language pointer
圖像識別與檢測--筆記
Grpc message sending of vertx
2021-07-18
技术干货|昇思MindSpore可变序列长度的动态Transformer已发布!
https://github.com/ZouJiu1/PAT