虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

High-Side

  • c语言算法排序

    1.Describe a Θ(n lg n)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exist two elements in S whose sum is exactly x. (Implement exercise 2.3-7.) #include<stdio.h> #include<stdlib.h> void merge(int arr[],int low,int mid,int high){      int i,k;      int *tmp=(int*)malloc((high-low+1)*sizeof(int));      int left_low=low;      int left_high=mid;      int right_low=mid+1;      int right_high=high;      for(k=0;left_low<=left_high&&right_low<=right_high;k++)      {      if(arr[left_low]<=arr[right_low]){                                        tmp[k]=arr[left_low++];                                        }      else{           tmp[k]=arr[right_low++];           } }             if(left_low<=left_high){                              for(i=left_low;i<=left_high;i++){                                                               tmp[k++]=arr[i];                                                               }                              }       if(right_low<=right_high){                              for(i=right_low;i<=right_high;i++)                                                                tmp[k++]=arr[i];                                                        }                              for(i=0;i<high-low+1;i++)                                                       arr[low+i]=tmp[i];       } void merge_sort(int a[],int p,int r){      int q;      if(p<r){              q=(p+r)/2;              merge_sort(a,p,q);              merge_sort(a,q+1,r);              merge(a,p,q,r);              }      } int main(){     int a[8]={3,5,8,6,4,1,1};     int i,j;     int x=10;     merge_sort(a,0,6);     printf("after Merging-Sort:\n");     for(i=0;i<7;i++){                      printf("%d",a[i]);                      }     printf("\n");     i=0;j=6;     do{                                    if(a[i]+a[j]==x){                                  printf("exist");                                  break;                                  }                  if(a[i]+a[j]>x)                                 j--;                  if(a[i]+a[j]<x)                                 i++;                       }while(i<=j);     if(i>j)              printf("not exist");     system("pause");     return 0;     }

    标签: c语言 算法 排序

    上传时间: 2017-04-01

    上传用户:糖儿水嘻嘻

  • MPO与MTP接插件的定义与区别

    The CommScope InstaPATCH® 360 and ReadyPATCH® solutions utilize a standards-compliant multi-fiber connector to provide high density termination capability. The connector is called an MPO (Multi-fiber Push On) connector by the standards. In many cases, multi-fiber connector products are referred to as MTP connectors. This document is intended to clarify the difference between the two terms – MPO and MTP.

    标签: MPO MTP 插件 定义

    上传时间: 2017-04-12

    上传用户:asdfghjkl1234567890

  • xilinx vcu118 user guide

    virtex ultra scale plus 16nm vcu 188 board user guide. For high speed and ultra scale design prototype.

    标签: xilinx guide user vcu 118

    上传时间: 2017-05-16

    上传用户:hewangfeng

  • 用于锂 - 硫电池的纳米结构金属氧化物和硫化物(1)

    Lithium–sulfur (Li–S) batteries with high energy density and long cycle life are considered to be one of the most promising next-generation energy-storage systems beyond routine lithium-ion batteries. Various approaches have been proposed to break down technical barriers in Li–S battery systems. The use of nanostructured metal oxides and sulfides for high sulfur utilization and long life span of Li–S batteries is reviewed here. The relationships between the intrinsic properties of metal oxide/sulfide hosts and electrochemical performances of Li–S batteries are discussed. Nanostructured metal oxides/ sulfides hosts used in solid sulfur cathodes, separators/interlayers, lithium- metal-anode protection, and lithium polysulfides batteries are discussed respectively. Prospects for the future developments of Li–S batteries with nanostructured metal oxides/sulfides are also discussed.

    标签: 电池 纳米结构 硫化物 金属氧化物

    上传时间: 2017-11-23

    上传用户:653357637

  • DCDC高频开关电源设计

    en.CD00004003_Designing with L4973, 3.5 A high efficiency DC-DC converter,en.CD00004003_Designing with L4973, 3.5 A high efficiency DC-DC converter

    标签: DCDC 高频开关 电源设计

    上传时间: 2017-12-24

    上传用户:jatcreo@qq.com

  • DCDC变换器 L4978

    DESIGNING WITH L4978, 2A HIGH EFFICIENCY DC-DC CONVERTERY

    标签: L4978 DCDC 变换器

    上传时间: 2017-12-24

    上传用户:jatcreo@qq.com

  • stm8s模拟iic

    void IIC_Init(void) {                             //由于STM8单片机,可以在输入和输出条件下读取IO口状态,故直接设置为输出。     GPIO_Init(IIC_SCL_PORT, IIC_SCL_PIN, GPIO_MODE_OUT_OD_HIZ_SLOW );     GPIO_Init(IIC_SDA_PORT, IIC_SDA_PIN, GPIO_MODE_OUT_OD_HIZ_SLOW );     IIC_SCL_H;     IIC_SDA_H; } //产生IIC起始信号 void IIC_Start(void) {     IIC_SDA_H;                         IIC_SCL_H;     Delay_us();     IIC_SDA_L; //START:when CLK is high,DATA change form high to low      Delay_us();     IIC_SCL_L; //钳住I2C总线,准备发送或接收数据  }

    标签: stm8s iic 模拟

    上传时间: 2018-01-10

    上传用户:m009988

  • 贴片铝电解电容封装库

    贴片铝电解电容封装库 SMD Aluminum Electrolytic Capacitors VE Features ‧ 3 ~ 16φ, 85℃, 2,000 hours assured ‧ Chip type large capacitance capacitors ‧ Designed for surface mounting on high density PC board. ‧ RoHS Compliance

    标签: 贴片 封装库 铝电解电容

    上传时间: 2018-05-09

    上传用户:angel20041401

  • 高频开关变换器的数字控制

    Digital Control of High-Frequency Switched-Mode Power Converters-Wiley-IEEE Press (2015)

    标签: 高频开关 变换器 数字控制

    上传时间: 2018-09-15

    上传用户:赛德克巴莱

  • JAVA SMPP 源码

    Introduction jSMPP is a java implementation (SMPP API) of the SMPP protocol (currently supports SMPP v3.4). It provides interfaces to communicate with a Message Center or an ESME (External Short Message Entity) and is able to handle traffic of 3000-5000 messages per second. jSMPP is not a high-level library. People looking for a quick way to get started with SMPP may be better of using an abstraction layer such as the Apache Camel SMPP component: http://camel.apache.org/smpp.html Travis-CI status: History The project started on Google Code: http://code.google.com/p/jsmpp/ It was maintained by uudashr on Github until 2013. It is now a community project maintained at http://jsmpp.org Release procedure mvn deploy -DperformRelease=true -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -Dgpg.passphrase=<yourpassphrase> log in here: https://oss.sonatype.org click the 'Staging Repositories' link select the repository and click close select the repository and click release License Copyright (C) 2007-2013, Nuruddin Ashr uudashr@gmail.com Copyright (C) 2012-2013, Denis Kostousov denis.kostousov@gmail.com Copyright (C) 2014, Daniel Pocock http://danielpocock.com Copyright (C) 2016, Pim Moerenhout pim.moerenhout@gmail.com This project is licensed under the Apache Software License 2.0.

    标签: JAVA SMPP 源码

    上传时间: 2019-01-25

    上传用户:dragon_longer