Skip to content

Commit e2708d4

Browse files
author
Joshua Goller
committed
create templates for working on codeforces, and update dockerfile for g++
1 parent 53e790d commit e2708d4

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ RUN apt-get -qq install -y \
66
cdecl \
77
clang \
88
clang-tools \
9+
g++ \
10+
gcc \
911
git \
1012
lldb \
1113
make \

codeforces/templates/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include ../../makefiles/settings.mk
2+
include ../../makefiles/cpp-competitive-compile.mk
3+
include ../../makefiles/build.mk

codeforces/templates/solution.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#include <iostream>
2+
3+
using namespace std;
4+
5+
int main() {
6+
cout << "Hello, codeforces!"
7+
<< "\n";
8+
}

0 commit comments

Comments
 (0)