logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

dev-c++自定义默认代码

用dev-C++刷OJ题目时,每次都要手敲头文件等内容,并且此软件还没有代码自动补全功能。每当新建文件或者新建工程时,如何让新文件中默认就是自己所需的代码呢?下面上教程:一、新建【源文件/Source file】时,自定义默认代码的设置方法。1、Tools ——> Editor Options.2、Snoppets——>Default Source——>勾...

HDU - 1045 Fire Net 【DFS】

DescriptionSuppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing a street or a piece of wall.A blockhouse is a sm...

1022 D进制的A+B (20分)

#include <iostream>using namespace std;int c[10000];int main(){int a, b, d;int i = 0;cin >> a >> b >> d;a += b;if (a == 0)co...

HDU - 2052 Picture

DescriptionGive you the width and height of the rectangle,darw it.InputInput contains a number of test cases.For each case ,there are two numbers n and m (0 < n,m < 75)indicate the widt...

UVA - 815 Flooded!

DescriptionInputOutputSample InputSample Output#include <iostream>#include <cstdio>#include <algorithm>using namespace std;int a[1000];int main...

POJ - 3630 Phone List

DescriptionGiven a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let's say the phone catalogue listed these numbers:Emergency 911Ali...

keras获取model权重

方法一:通过get_layer()函数先获取要获取权重对应的层;接着通过get_weights()函数获取改成对应的全部参数(是一个长的为2的列表,列表中的每一个元素是一个numpy数组,第一存放该层的权重W的参数,第一个存放偏置b)layer的两个函数:get_weights()set_weights(weights)model = load_model('vgg.h5')layer1 = mo

keras获取model权重

方法一:通过get_layer()函数先获取要获取权重对应的层;接着通过get_weights()函数获取改成对应的全部参数(是一个长的为2的列表,列表中的每一个元素是一个numpy数组,第一存放该层的权重W的参数,第一个存放偏置b)layer的两个函数:get_weights()set_weights(weights)model = load_model('vgg.h5')layer1 = mo

在Windows本地部署DeepSeek-R1模型全指南 ——基于Ollama的轻量化实现

也可在浏览器输入http://localhost:11434/,若显示“Ollama is running”也可说明安装成功。(3)迁移已有模型:将原目录C:\Users<用户名>.ollama\models内容复制到新路径。下载完成后,可以在命令行输入你的问题,如果输出思考内容及答案,说明模型部署成功。(1)退出Ollama(右键任务栏图标→Quit Ollama)变量值:自定义路径(如D:\s

文章图片
如何让Dev C++可以使用C++11、C++14标准

最新版本的Dev C++(即5.11版),经过以下操作后可完美使用新版本C++标准。1、Tools ——> Compiler Options.2、勾选“Add the following commands when calling the compiler:”,填入"-std=c++11" 或者"-std=gnu++11"如果要支持c++14,可以填入"-std=c...

    共 79 条
  • 1
  • 2
  • 3
  • 8
  • 请选择