自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 C++ Libtorch 头文件问题

!!!Libtorch 头文件顺序#include <torch/script.h>#include <torch/torch.h>#include <iostream>放在所有头文件最前面,避免出错libtorch/include/ATen/DeviceGuard.h:25:8: error: reference to 'optional' is ambiguouslibtorch/include/ATen/DeviceGuard.h:26:

2022-05-08 21:49:02 1430 1

原创 Error:‘path‘ is unavailable: introduced in macOS 10.15

Mac OS 10.15 + QT 5.14 (filesystem)解决方法:(.pro)CONFIG += c++17QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.15

2022-03-14 23:46:32 1573

原创 A1111 Online Map

A1111 Online Map ????????????????contenthttps://pintia.cn/problem-sets/A1111condition 1 : output the fastest one among the shortest pathscondition 2 : output the one that passes through the fewest intersections????【Dijkstra + DFS】???? skill❗️issue

2021-08-26 14:27:59 117

原创 A1072 Gas Station

A1072 Gas Station ????????????????contenthttps://pintia.cn/problem-sets/A1072condition 1 : the minimum distance between the station and any of the residential housing is as far away as possiblecondition 2 : output the one with the smallest average dist

2021-08-17 17:37:27 136

原创 A1102 Invert a Binary Tree

A1102 Invert a Binary Tree ????????????????contenthttps://pintia.cn/problem-sets/A1102the inverted tree------>symmetrically????【Tree】???? skillnormal tree in-order (pseudo-code):leftTree----> root ----> rightTreefor inverted tree in-order

2021-08-17 17:13:29 58

原创 A1071 Speech Patterns

A1071 Speech Patterns ????????????????contenthttps://pintia.cn/problem-sets/A1020????【Tree】❗️issue⭐️solution!!!key!!!—>inOrder sequence = left + in + right -----> get the number of left-child-num/right-child-numpostOrder sequence = left +

2021-08-17 09:49:55 49

原创 A1035 Password

A1071 Password ????????contenthttps://pintia.cn/problem-sets/A1071????【String】❗️issue1.Attention to the output format : n >1 “is”->“are” , n+sThere is 1 account and no account is modifiedThere are 2 accounts and no account is modified2.unint

2021-08-17 09:27:57 76

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除