From a3e0177f4e95d8a9e2eb6db311660289c0d62d54 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Fri, 2 Dec 2022 23:29:32 +0500 Subject: [PATCH] Remove template and instructions for C programs --- problems/template/Makefile | 14 -------------- problems/template/lib.c | 1 - problems/template/lib.h | 1 - problems/template/main.c | 5 ----- readme.md | 13 ------------- 5 files changed, 34 deletions(-) delete mode 100644 problems/template/Makefile delete mode 100644 problems/template/lib.c delete mode 100644 problems/template/lib.h delete mode 100644 problems/template/main.c diff --git a/problems/template/Makefile b/problems/template/Makefile deleted file mode 100644 index ab746c4..0000000 --- a/problems/template/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -all: lib.o main.o - gcc -Wall -o bin lib.o main.o - -lib.o: lib.c - gcc -c -Wall lib.c - -main.o: main.c - gcc -c -Wall main.c - -run: - ./bin - -clean: - rm *.o bin diff --git a/problems/template/lib.c b/problems/template/lib.c deleted file mode 100644 index a82b12f..0000000 --- a/problems/template/lib.c +++ /dev/null @@ -1 +0,0 @@ -#include "lib.h" diff --git a/problems/template/lib.h b/problems/template/lib.h deleted file mode 100644 index 6f70f09..0000000 --- a/problems/template/lib.h +++ /dev/null @@ -1 +0,0 @@ -#pragma once diff --git a/problems/template/main.c b/problems/template/main.c deleted file mode 100644 index b769201..0000000 --- a/problems/template/main.c +++ /dev/null @@ -1,5 +0,0 @@ -#include "lib.h" - -int main() { - return 0; -} diff --git a/readme.md b/readme.md index 84c014c..c49ad99 100644 --- a/readme.md +++ b/readme.md @@ -4,14 +4,6 @@ ## How to run solutions -For programs written in C: - -```bash -cd problems/random-problem -make -make run -``` - For programs written in Rust: ```bash @@ -28,11 +20,6 @@ ruby test.rb ## Solution structure -For programs written in C: - -- `lib.c` - the solution itself -- `main.c` - tests - For programs written in Rust: - `src/lib.rs` - solution and tests