为您找到约 117 条结果,搜索耗时:0.0056秒

pat甲级真题训练代码

...pat甲级真题训练代码。#include<iostream>using namespace std;int main(){    int a,b;    cin >> a >> b;    string s = to_string(a + b);    int l = s.length();    for(int i=0;i<l;i++){  &nb...

编程笔试真题

...tring[] args) {  Scanner sc = new Scanner(System.in);  int N = sc.nextInt();  int result = 0;  N = 1024 - N;  if (N >= 64) {   result += N / 64;   N %= 64;  }  if (N >= 16) {   re...

互联网面试笔记

...序后相对位置不变。```// 插入排序public static void insertSort(int[] array) {    for (int i = 2; i < array.length; i++ ) {        int val = array[i];        int j = i -1;     ...

大学数据结构真题程序设计题代码

...```c++#include <vector>#include <iostream>using namespace stl; int main(){    vector<string> numbers;     numbers.push_back("abc");    string s = "def";    numbers.push_back(move(s));     cout <...

校园导游咨询系统

...sp;          /*存放景点信息的结构体*/ int num;                                      /*景点代号*/ char name[20];              &n...

2020年秋季笔试面试合集

...[1, 4, 5] * [8, 2] * [3, 5, 2] * * vector<vector<int> >; * * */int main(){    // N 物品种类    // C 背包容量    int N, C;    while (cin >> N >> C) {     ...

16×16点阵(滚动显示)资料

... 有段程序看不太懂 efan 23:05:26 #include <reg52.h> #define int8 unsigned char #define int16 unsigned int #define int32 unsigned long int8 flag; int8 n; int8 code table[][32]={ {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,...

ibsystat源码分析

...odel; char *mhz; } cpu_info; static cpu_info cpus[MAX_CPUS]; static int host_ncpu; static int server = 0, oui = IB_OPENIB_OUI; static int server_respond(void *umad, int size) { ib_rpc_t rpc = { 0 }; ib_rmpp_hdr_t rmpp = { 0 }; ib_portid_t rport; uint8_t *mad = umad_get_mad(umad);...

ANFIS 仿真

...程,但解决方案的准确性较低static void anfisForward(FIS *fis, int from, int to) { int i; if (from < fis->in_n || to >= fis->node_n) fisError("Node index out of bound!"); /* forward calculation */ for (i = from; i <= to ; i++) fis->node[i]->value = ...

机器人视觉模式识别

...ui.lib") #pragma comment(lib,"ml.lib") #pragma comment(lib,"cvcam.lib") int main (int argc, char **argv) {  double angle = -45.0, scale = 1.0;  IplImage *src_img = 0, *dst_img = 0;  CvMat *map_matrix;  CvPoint2D32f center;  CvPoint pt1, pt2;  CvRect rect; &nb...

微信捐赠

微信扫一扫体验

立即
上传
返回
顶部