mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-06 22:34:18 +08:00
Rename the common modules in Java, C++ and C.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* Author: Krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../include/include.hpp"
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
/* 函数 */
|
||||
int func() {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Author: Krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../include/include.hpp"
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
/* 常数阶 */
|
||||
int constant(int n) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Author: Krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../include/include.hpp"
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
/* 生成一个数组,元素为 { 1, 2, ..., n },顺序被打乱 */
|
||||
vector<int> randomNumbers(int n) {
|
||||
|
Reference in New Issue
Block a user