ICode9

精准搜索请尝试: 精确搜索
  • 操作系统 Programming Project 5 多线程排序2021-01-22 21:31:11

    多线程排序应用 实验要求排序合并排好序的数组完整代码实验结果 实验要求 Write a multithreaded sorting program that works as follows: A list of integers is divided into two smaller lists of equal size. Two separate threads (which we will term sorting th

  • aop2021-01-22 09:57:22

    AOP 是 Aspect Oriented Programming 的缩写,意为面向切面编程,通过预编译方式和运行期动态代理实现程序功能的统一维护的一种技术,是OOP的延续。 AOP 能够对程序进行增强,在不修改源码的情况下,可以进行权限校验,日志记录,性能监控,事务控制等。

  • 2021-01-202021-01-20 18:02:29

    7-2 查找书籍 (20分) 给定n本书的名称和定价,本题要求编写程序,查找并输出其中定价最高和最低的书的名称和定价。 输入格式: 输入第一行给出正整数n(<10),随后给出n本书的信息。每本书在一行中给出书名,即长度不超过30的字符串,随后一行中给出正实数价格。题目保证没有同样价格的书

  • CodeForces - 730I Olympiad in Programming and Sports(最大费用最小流)2021-01-20 15:35:06

    题目大意: 见题面 思路: 一道很普通的mcmf,取一个学生的a值或者b值可以用流量来表示,即每个学生有1的流量。题目中我要求输出对与每个学生的被选择情况,我们可以通过遍历学生的正向边或者反向边的流量得出学生的被选择情况。 Code: #include <bits/stdc++.h> using namespace std; type

  • [Algorithm] Max icons to include: Dynamic programming2021-01-19 03:32:53

    Saying that we have some icons and a target sum, for example 16.   How to choose which and how many icons to include to reach the target but minize the numbers of icons. EXP: 3 * 5$ icons          +   1 * 1$icon ------------- total 4 icons.   Idea i

  • [Algorithm] Flowerbox: Dynamic programming2021-01-18 18:36:40

    A serial of number, you cannot add siblings number together. To calcaulate what is the max sum value.   Thinking: 1. Weather I should add current number or not. 2. Draw the DAG: From the DAG, can see that F(n), only need F(n-2) and F(n-1) two variables.

  • [Algorithm] Bottom-up Dynamic programming approch2021-01-18 04:01:03

    Fibonacci sequence:  The most well-known approach is memoization. Advantage is fast, but space complexity is big. O(N).   Bottom-up: 1 : Bottom-up dynamic programming represents recursive problems as Directed Acyclic Graph. 2. The DAG repressentation can

  • AOP(Aspect Orient Programming)2021-01-15 23:01:34

    AOP(Aspect Orient Programming) 什么是AOP 是一种设计思想,是软件设计领域中的面向切面编程,它是面向对象编程(OOP)的一种补充和完善。它以通过预编译方式和运行期动态代理方式,实现在不修改源代码的情况下给程序动态统一添加额外功能的一种技术。 是一个动态过程,为设计好的对

  • 查找书籍 (10分)(PTA)2021-01-15 17:05:08

    查找书籍 给定n本书的名称和定价,本题要求编写程序,查找并输出其中定价最高和最低的书的名称和定价。 输入格式 输入第一行给出正整数n(<10),随后给出n本书的信息。每本书在一行中给出书名,即长度不超过30的字符串,随后一行中给出正实数价格。题目保证没有同样价格的书。 输出格式

  • ELE00107M C Programming2021-01-12 19:01:15

    Department of Electronic EngineeringELE00107M C Programming for MSc Coursework Assessment2020/21SUMMARY DETAILSThis coursework (Code and Report) contributes 100% of the assessment for this module.Clearly indicate your Exam Number on every separate piece o

  • The 2020 ICPC Asia Taipei-Hsinchu Site Programming Contest2021-01-11 02:02:57

    The 2020 ICPC Asia Taipei-Hsinchu Site Programming Contest A Right-Coupled Numbers 暴力 int main() { for (read(_); _; --_) { read(n); bool f = 0; per (i, sqrt(n), 1) if (n % i == 0 && i * 2 >= n / i) f = 1; write(f);

  • PAT浙大版《C语言程序设计(第3版)》练习题2021-01-09 13:29:48

    这是我的第一篇博客,也是我开始下定决心继续学习编程的开始。因为基础的不够,所以我从最简单的编程开始学习。我所练习的题目来源于浙江大学PAT中的题目。从这篇博客开始,我将练习编程。可能未来的几百篇博客都是练习编程。并且用的是C语言或者是C++语言。希望为我将来考研复试

  • 动态规划(Dynamic Programming)2021-01-06 20:01:11

    一、动态规划(Dynamic Programming) 动态规划,简称DP 是求解最优化问题的一种常用策略通常的使用套路(一步一步优化) ① 暴力递归(自顶向下,出现了重叠子问题) ② 记忆化搜索(自顶向下) ③ 递推(自底向上) 1、动态规划的常规步骤 动态规划中的“动态”可以理解为是“会变化的状态” ① 定

  • 如何自学计算机?自学历程2020-12-23 11:30:16

    Learning-of-Computer-Science 0. Basic/Introduction CS50: Introduction to the intellectual enterprises of computer science and the art of programming.CS106B Programming Abstractions: this is a basic/introductory course from Stanford whose content includes

  • acm-(dp、最小树形图)Sichuan State Programming Contest 2011 I.Smart Typist2020-12-14 18:01:07

    传送门 首先容易发现把字符串 x x x通过替换方式变成字符串 y y y会有一个代价

  • 面向过程和面向对象2020-12-13 09:31:23

    1、面向过程: Procedure Oritented Programming(POP) 强调的是功能行为,以函数为最小单位,考虑怎么做 2、面向对象:Object Oriented Programming(OOP) 面向对象是相对于面向过程而言的,面向对象,将功能封装进对象,强调具备了功能的对象,**以类/对象为最小单位,**考虑谁来做 面向对

  • Spring AOP2020-12-11 15:05:56

    1.什么是AOP AOP为Aspect Oriented programming的缩写,意思为面向切面编程,是通过预编译方式和运行期动态代理实现程序功能的统一维护的一种技术 (1)什么是动态代理? 是在不修改源码的情况下,对目标方法进行相应的增强 (2)动态代理的作用 可以完成程序功能间的松耦合  

  • GopherChina 2020 Go Programming Patterns 学习笔记篇22020-12-09 18:33:14

    本篇继续学习左耳朵耗子老师的Go Programming Patterns下半部分,PPT太长了,70多页。 Topic 10 函数化的选项配置 由于Golang不允许使用同一个名字来命名函数,必须是不同的名称,即使参数不同,这与Java不一样,java的方法签名是包含参数的。所以遇到那种多个参数来实例化一个变量的,就

  • 计算机常用英语2020-12-06 20:04:34

    一、常用单词 1.1 初级单词 第一节 void:[vɔid] 空的 main:[mein] 主要的 class:[klɑ:s] 类 system:['sistəm] 系统 out:[aut] 出,外,输出 print:[print ] 打印 public['pʌblik] 公共的,公用的 static['stætik] 静的;静态的;静止的 oracle: [ˈɔ:rəkl] 甲骨文公司 eclipse:[i'klips]

  • 算法编程Algos Programming2020-11-30 07:34:56

    算法编程Algos Programming 不同算法的集合,用于编程比赛,如ACM ICPC。              算法按主题划分。大多数算法都可以从文件中按原样运行。每种算法都有一个参考问题,并对其时间和空间复杂度作了一些说明。  参考:https://github.com/ADJA/algos 算法列表List of alg

  • 2020 Jiangsu Collegiate Programming Contest2020-11-29 13:02:05

    8 / 45 Problem A CFGym 102875A Array !!! 1 / 3 Problem B CFGym 102875B Building Blocks !!! 70 / 90 Problem C CFGym 102875C Cats --- 64 / 125 Problem D CFGym 102875D Delete Prime --- 2 / 6 Problem E CFGym 102875E Eliminate the Virus ??? 0 /

  • Cloud Programming Simplified: A Berkeley View on Serverless Computing2020-11-26 18:01:21

    云计算编程的简化:伯克利对无服务器计算的观点 Abstract 无服务器云计算几乎处理了所有的系统管理操作,使程序员更容易使用云计算。它提供了一个接口,大大简化了云计算编程,并代表了从汇编语言到高级编程语言的过渡,是一种与汇编语言到高级编程语言并行的演进。本文介绍了云计算的

  • Programming Concepts: Concurrency2020-11-23 11:31:58

    Programming Concepts Series: The Stack and the Heap Compiled and Interpreted Languages Concurrency Static vs. Dynamic Type Checking Type Introspection and Reflection Core Functional Programming Concepts Garbage Collection For the third post in this Pro

  • 强力推荐,C++编程萌新到C++编程大牛需要看哪些书籍2020-11-21 07:00:58

    C++经典著作列表1.入门书籍《C++程序设计教程(第二版)》《C++全方位学习》《C++高质量编程》《C++ Primer 中文版(第5版)》《C++ Primer (Fifth Edition)》《C++ Primer Plus 中文版(第六版)》《C++ Primer Plus (Sixth Edition)》2.进阶书籍《Thinking in C++》《A Tour Of C++》《C++编

  • AOP(Aspect Oriented Programming)面向切面编程2020-11-10 02:01:58

    AOP是OOP的延续,是Spring框架中的一个重要内容,是函数式编程的一种衍生范型。 什么是OOP? 什么是AOP? AOP(Aspect Oriented Programming)面向切面编程: 可以说AOP是OOP(Object-Oriented Programing,面向对象编程)的补充和完善。OOP引入封装、继承和多态性等概念来建立一种对象层次结构,用以

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有