摘要: 理解原理->代码实现->复杂度分析 CLRS学习指南 - 简书 (jianshu.com) OI Wiki - OI Wiki (oi-wiki.org) Data Structure Visualization (usfca.edu) Algorithm Visualizer (algorithm 阅读全文
posted @ 2023-04-25 16:59 残影0无痕 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 准备:支付宝南京地铁电子卡、身份证、学生证 5月2日 南区食堂门口集合 8:00 骑共享单车前往国权路地铁站 地铁线路(预计22分钟): 10号线:国权路->海伦路 乘坐4站 9分钟 4号线外圈: 海伦路->上海火车站 乘坐2站 6分钟 上海火车站(139.5元) 检票口:候车室9号 G7006 0 阅读全文
posted @ 2023-04-21 20:12 残影0无痕 阅读(136) 评论(0) 推荐(0) 编辑
摘要: module top_module( input a, b, cin, output cout, sum ); assign sum = a ^ b ^ cin; assign cout = (a & b) | (cin & (a ^ b)); endmodule 阅读全文
posted @ 2023-04-18 19:29 残影0无痕 阅读(10) 评论(0) 推荐(0) 编辑
摘要: /** * @file string_BM.cpp * @author Invisiphatom (ethancao16770@gmail.com) * @brief BM algorithm * @version 0.1 * @date 2023-04-12 * * @copyright Copy 阅读全文
posted @ 2023-04-12 18:03 残影0无痕 阅读(25) 评论(0) 推荐(0) 编辑
摘要: #include <benchmark/benchmark.h> #include <algorithm> #include <deque> #include <iostream> #include <random> #include <vector> using namespace std; st 阅读全文
posted @ 2023-04-10 20:43 残影0无痕 阅读(56) 评论(0) 推荐(0) 编辑
摘要: #include <benchmark/benchmark.h> #include <iostream> #include <random> #include <vector> using namespace std; static const int n = 200; static const i 阅读全文
posted @ 2023-04-05 18:17 残影0无痕 阅读(28) 评论(0) 推荐(0) 编辑
摘要: #include <benchmark/benchmark.h> #include <algorithm> #include <deque> #include <functional> #include <iostream> #include <random> #include <string> # 阅读全文
posted @ 2023-04-05 11:34 残影0无痕 阅读(16) 评论(0) 推荐(0) 编辑
摘要: OpenCV: OpenCV modules cv2.imread(filepath,flags) filepath:要读入图片的完整路径 flags:读入图片的标志 cv2.IMREAD_COLOR:默认参数,读入一副彩色图片,忽略alpha通道cv2.IMREAD_GRAYSCALE:读入灰度图 阅读全文
posted @ 2023-03-05 11:36 残影0无痕 阅读(28) 评论(0) 推荐(0) 编辑
摘要: /* 1. 计算二项式系数(15’) 给定 n, m <= 40,计算二项式系数 C(n, m) = n!/(m!(n-m)!)。保证结果在整型(int)范围内。 int binomial_coefficient(int n, int m){ //write your code here } */ 阅读全文
posted @ 2023-02-09 08:53 残影0无痕 阅读(44) 评论(0) 推荐(0) 编辑
摘要: P1002 [NOIP2002 普及组] 过河卒 #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int Horse_y[8] = { 2, 1, -1, -2, -2, -1, 1, 2 }; int 阅读全文
posted @ 2023-01-19 19:07 残影0无痕 阅读(28) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示