包含标签:xgn 的文章
-
Orange Boy Can You Solve It Out? Ep. 69
Difficulty: Div2C 思考题 from merging table lookup keys Packaging Objects You are given n objects in the memory in ascending order of their starting address. The i-th object has a size of S_i. If adj_i=1 (i>1) then this object is adjacent to th…… -
Asynchronous game development
在Notion中查看以获得更优秀的体验 前言 异步编程,一个看似用于网络/多线程的编程范式,在游戏开发中也可以大大增加代码书写的便捷性和可读性,本文将介绍这一点。 虽然我想网上应该已经有十一万四千五百一十四篇文章介绍了这个技巧,但是笔者最近亲身体会到了这…… -
Green Boy Can't You Solve It Out? Ep. 3
思考题 born from a weird hardware Innovative Hardware Given an integer n, find such n_1+n_2+n_3=n or report impossible. Where n_1, n_2\in {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16, 20,24,28,32,36,40,44,48,52,56,60,64} and n_3\in{ 0,1,2…… -
南京大学2026年强基转段考试问题汇总
2026年(2023级)考试题目汇总 笔试 大班离散。2小时,闭卷。 1. 给出一些自然语言表述,请用谓词逻辑刻画并用谓词逻辑的证明系统,证明某个自然语言表述。 2. 对于Sierpiński carpet 分型n次后的图形,用数学归纳法证明其面积等于某个表达式a_n,周长等于某个表达式b…… -
-
什么叫你的母语是Kotlin?
前言 本文需要的前置知识: OOP Kotlin语法 特别简单的人类自然语言语法知识 我们都知道,OOP的经典范式是每个方法或者属性都需要有对应的对象。一个很常见的例子就是 someInstance.doSomething(someTarget) :某个对象执行一个成员函数,参数是另一个对象。 笔者某…… -
从CPS到Kotlin Coroutine基岩层探秘
从CPS到Kotlin Coroutine基岩层探秘 前言 Kotlin Coroutine是一个十分优秀的并发语言特性,他几乎透明,开发者友好,在一定程度上甚至保留了Java的互操作性。 Kotlin Coroutine的底层是怎么实现的?我们今天将通过观察反编译后的代码的方式深入学习一下Coroutine调用…… -
Orange Boy Can You Solve It Out? Ep. 68
This is a hard version of Ep. 67. If you prefer an easier problem, please see OBCYSIO67. Meeting Point Given a directed graph G of n vertices and m edges. A single vertex S is called the starting point and a single vertex T is called the finish poi…… -
Orange Boy Can You Solve It Out? Ep. 67
Solved! Difficulty: D2C Pretty basic exercise problem from FLA This is an easy version of Ep. 68. If you prefer harder problems, please visit here. Meeting Point Given a directed graph G of n vertices and m edges. A single vertex S is called …… -
Orange Boy Can You Solve It Out? Ep. 66
Solved! Difficulty: Div2C Classic 思考题 HP You are given a grid of n*m cells. You start from a starting cell S and can move up, down, left or right in one step without leaving the grid. Find: is it possible to visit each cell once and exactl……


