diff --git a/README.md b/README.md index bd6e06a..e5cbffc 100644 --- a/README.md +++ b/README.md @@ -1 +1,9 @@ -# competitive-programming \ No newline at end of file +# competitive-programming + +Solutions to problems from various competitive programming sites. + +Beware of old, questionable-looking, code. + +* More general solutions can be found under the directory 'algorithms-and-datastructures' +* Problems found at 'Open Kattis' have been put in directory named after the problem title. +* Problems I could only find through 'Online Judge' (UVa) are prepended with a 'u' and the problem number at UVa. diff --git a/c11-template/Makefile b/c11-template/Makefile new file mode 100755 index 0000000..eb859a9 --- /dev/null +++ b/c11-template/Makefile @@ -0,0 +1,11 @@ +EXECUTABLE=tst +CC=g++ +CFLAGS=-lm -lcrypt -O2 -std=c++11 -Wall -Wextra -Werror -pipe -DONLINE_JUDGE +OBJ=main.cpp + +$(EXECUTABLE): $(OBJ) + $(CC) $(CFLAGS) -o $@ $(OBJ) + +.PHONY: clean +clean: + rm -rf $(EXECUTABLE)