This commit is contained in:
2025-03-26 11:58:36 +08:00
parent a09362480a
commit 93f367dee9
3 changed files with 108 additions and 0 deletions

18
include/solution/2974.h Normal file
View File

@@ -0,0 +1,18 @@
//
// Created by xfj12 on 2025/3/25.
//
#ifndef INC_2974_H
#define INC_2974_H
#ifdef __cplusplus
extern "C"
{
#endif
/**
* Note: The returned array must be malloced, assume caller calls free().
*/
int *numberGame(int *nums, int numsSize, int *returnSize);
#ifdef __cplusplus
}
#endif
#endif // INC_2974_H