set up the file structure

This commit is contained in:
2023-10-13 10:56:32 +08:00
parent 135a4f4c51
commit adb097edae
4 changed files with 48 additions and 9 deletions

View File

@ -2,4 +2,5 @@ set(PROJECT_NAME ${CMAKE_PROJECT_NAME})
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "-g -O2")
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/sqlite-amalgamation-3430200)
add_executable(casemanager casemanager.cpp sqlite-amalgamation-3430200/sqlite3.c)
add_executable(casemanager casemanager.cpp sqlite-amalgamation-3430200/sqlite3.c)
add_executable(judger judger.cpp)

View File

@ -1,5 +1,12 @@
/**
* @file casemanager.cpp
*
* @brief this is the casemanager of ICPC-Management-System to manage the test
* cases.
*/
#include <sqlite3.h>
#include <stdio.h>
#include <unistd.h>
static int callback(void *NotUsed, int argc, char **argv, char **azColName) {
int i;

8
checker/judger.cpp Normal file
View File

@ -0,0 +1,8 @@
/**
* @file judger.cpp
*
* @brief this is the judger of ICPC-Management-System to test the code.
*/
int main(int argc,char* argv[]){
return 0;
}