首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
牛客产品的日常
浙江工大
未填写毕业时间
未填写职位
关注
私信
加入黑名单
举报TA
TA的博客
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(2)
给定一个数组 input[] ,如果数组长度 n 为奇数,则将数组中最大的元素放到 output[] 数组最中间的位置,如果数组长度 n 为偶数,则将数组中最大的元素放到 output[] 数组中间两个位置偏右的那个位置上,实现该函数接口void sort(int input[], int n, int output[])。
0
#include "iostream" using namespace std; void bubblesort(int data[], int n) { int temp = 0; for (int i = 0; i < n; i++ ) { ...
发表于 2014-11-13 23:50:40
如何跟踪某个session的SQL。
0
exec dbms_system.set_sql_trace_in_session(sid,serial#,&sql_trace); select sid,serial# from v$session where sid = (select sid from v$mystat where r...
发表于 2014-10-25 00:26:16
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题