码迷,mamicode.com
首页 >  
搜索关键字:NPU    ( 4242个结果
C - News Distribution (并查集)
C. News Distribution C. News Distribution Example input 7 5 3 2 5 4 0 2 1 2 1 1 2 6 7 output 4 4 1 4 4 2 2 思路:简单来讲,就是用并查集求每个点所在连通块的大小,有两种写法......写法一:用 ...
分类:其他好文   时间:2019-05-19 20:47:18    阅读次数:177
LeetCode 965. Univalued Binary Tree
965. Univalued Binary Tree 965. Univalued Binary Tree A binary tree is univalued if every node in the tree has the same value. Return true if and only ...
分类:其他好文   时间:2019-05-19 14:13:18    阅读次数:97
第六章 函数和宏定义实验(2)
C程序设计实验报告 实验项目: 6.4.2.2利用复化梯形公式计算定积分 6.4.2.3计算Ackerman函数 6.4.3.1编写计算x的y次幂的递归函数getpower(int x,int y),并在主程序中实现输入输出 6.4.3.2编写计算学生年龄的递归函数 6.4.3.3编写递归函数实现A ...
分类:其他好文   时间:2019-05-19 00:03:37    阅读次数:147
上传本地文件到服务器
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u ...
分类:Web程序   时间:2019-05-18 23:44:54    阅读次数:191
一个简单rpc
package com.wu; public interface RpcProtocol { void export(int port); Object refer(Class inrerfaceClass, String host, int port); } package com.wu; imp... ...
分类:其他好文   时间:2019-05-18 19:06:24    阅读次数:87
PAT甲级——1110 Complete Binary Tree (完全二叉树)
此文章同步发布在CSDN上:https://blog.csdn.net/weixin_44385565/article/details/90317830 1110 Complete Binary Tree (25 分) 此文章同步发布在CSDN上:https://blog.csdn.net/weix ...
分类:其他好文   时间:2019-05-18 18:54:44    阅读次数:94
python 字符串切片
python字符串切片切片操作(slice)可以从一个字符串中获取子字符串(字符串的一部分)。我们使用一对方括号、起始偏移量start、终止偏移量end以及可选的步长step来定义一个分片。格式:[start:end:step][:]提取从开头(默认位置0)到结尾(默认位置-1)的整个字符串[start:]从start提取到结尾[:end]从开头提取到end-1[start:end]从start提
分类:编程语言   时间:2019-05-18 15:34:09    阅读次数:132
吴裕雄 python 神经网络——TensorFlow 输入数据处理框架
import tensorflow as tf files = tf.train.match_filenames_once("E:\\MNIST_data\\output.tfrecords") filename_queue = tf.train.string_input_producer(file... ...
分类:编程语言   时间:2019-05-18 14:06:52    阅读次数:113
jquery----icheck插件
2、激活 参考样式: ...
分类:Web程序   时间:2019-05-18 13:37:12    阅读次数:946
C语言课后习题
/*最大公约数求解*/#include "stdafx.h"#include <stdio.h>int main(){ int max(int,int); int a,b; printf("Please input your numbers\n"); scanf("%d,%d\n",&a,&b);  ...
分类:编程语言   时间:2019-05-18 00:44:36    阅读次数:103
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!