码迷,mamicode.com
首页 >  
搜索关键字:mars    ( 682个结果
PAT (Advanced Level) 1044 Shopping in Mars
题解 利用前缀和维护钻石的价值,然后枚举左端点,二分查找右端点。 代码 #include<bits/stdc++.h> using namespace std; int n,m,pre_sum[100005]; vector<int> ans; void check(int i,int &j,int ...
分类:其他好文   时间:2020-01-28 15:33:52    阅读次数:65
PAT Advanced 1041 Be Unique (20分)
Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on a numbe ...
分类:其他好文   时间:2020-01-27 15:17:12    阅读次数:55
JAVA中几种常用的RPC框架介绍
RPC是远程过程调用的简称,广泛应用在大规模分布式应用中,作用是有助于系统的垂直拆分,使系统更易拓展。Java中的RPC框架比较多,各有特色,广泛使用的有RMI、Hessian、Dubbo等。RPC还有一个特点就是能够跨语言,本文只以JAVA语言里的RPC为例。 对于RPC有一个逻辑关系图,以RMI ...
分类:编程语言   时间:2020-01-20 14:36:49    阅读次数:107
Codeforces 1011F
F. Mars rover time limit per test 5 seconds memory limit per test 256 megabytes input standard input output standard output Natasha travels around Mar ...
分类:其他好文   时间:2020-01-12 09:35:46    阅读次数:84
gitlab上传本地项目
一、登录gitlab,创建项目 二、创建密钥(win10 git bash)生成key并添加ssh key 2.1 生成id_rsa和id_rsa.pub ssh-keygen -t rsa -C "mars@xxxchina.com.cn" 2.2 找到C:\Users\登录用户名\.ssh 目录 ...
分类:Web程序   时间:2019-12-15 22:08:06    阅读次数:112
torchline:让Pytorch使用的更加顺滑
torchline地址:https://github.com/marsggbo/torchline 相信大家平时在使用Pytorch搭建网络时,多少还是会觉得繁琐,因为我们需要搭建数据读取,模型,训练,checkpoints保存等等一系列模块。每当切换到新的任务后很多情况下之前的代码不能复用,或者说 ...
分类:其他好文   时间:2019-12-13 23:18:56    阅读次数:102
Pytorch详解NLLLoss和CrossEntropyLoss
是什么? https://www.cnblogs.com/marsggbo/p/10401215.html 具体pytorch怎么运算的 https://blog.csdn.net/qq_22210253/article/details/85229988 ...
分类:其他好文   时间:2019-12-13 18:01:10    阅读次数:108
PTA(Advanced Level)1044.Shopping in Mars
Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars ). When making th ...
分类:其他好文   时间:2019-12-12 12:56:26    阅读次数:93
GO语言的JSON01---序列化
package main import ( "encoding/json" "fmt" ) /* 定义待序列化结构体 属性一定要可见,否则json包无法访问 */ type Person struct { Name string Age int Rmb float64 Gender bool Hob... ...
分类:编程语言   时间:2019-12-02 23:07:25    阅读次数:81
go-gin-api 路由中间件 - 日志记录
概述首先同步下项目概况:上篇文章分享了,规划项目目录和参数验证,其中参数验证使用的是 validator.v8 版本,现已更新到 validator.v9 版本,最新代码查看 github 即可。这篇文章咱们分享:路由中间件 - 日志记录。日志是特别重要的一个东西,方便我们对问题进行排查,这篇文章我 ...
分类:Windows程序   时间:2019-11-09 23:24:16    阅读次数:243
682条   上一页 1 ... 3 4 5 6 7 ... 69 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!