Skip to content

Commit 09b5243

Browse files
committed
Add HashCode files
README was also updated with Hash Code. A table was also put in for displaying directories.
1 parent 523ff29 commit 09b5243

18 files changed

Lines changed: 252516 additions & 8 deletions

File tree

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ [email protected]. I recognize that as time has gone on, I have tended to
77
use less and less comments... :)
88

99
Currently, the websites/contests represented in this repo are:
10-
- [UVa Online Judge](https://uva.onlinejudge.org) - `uva` directory
11-
- [Kattis](https://open.kattis.com/problems) - `kattis` directory
12-
- [Leetcode](https://leetcode.com/problemset/all/) - `leetcode` directory
13-
- [ICPC Live Archive](https://icpcarchive.ecs.baylor.edu) - `icpc_live_archive`
14-
directory
15-
- [Hackerrank](https://www.hackerrank.com) - `hackerrank` directory (most of
16-
these are stored on Hackerrank; I may put them here in the future)
17-
- (more to come once I organize my directories...)
10+
11+
Website / Contest | Directory
12+
-------------------------------------------------|-------------------------
13+
[UVa Online Judge](https://uva.onlinejudge.org) | uva
14+
[Kattis](https://open.kattis.com/problems) | kattis
15+
[Leetcode](https://leetcode.com/problemset/all/) | leetcode
16+
[ICPC Live Archive](https://icpcarchive.ecs.baylor.edu) | icpc\_live\_archive
17+
[HackerRank](https://www.hackerrank.com) | hackerrank
18+
[Google Hash Code](https://codingcompetitions.withgoogle.com/hashcode) | hashcode
19+
20+
(more to come once I organize my directories...)

hashcode/2019/a.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
4
2+
H 3 cat beach sun
3+
V 2 selfie smile
4+
V 2 garden selfie
5+
H 2 garden cat

hashcode/2019/b.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# g++ graph.cpp -o b.out
2+
for i in {101..200}; do
3+
echo $i
4+
b.out < ./b.txt > b_output/b.$i.txt
5+
done
6+
python judge.py -f b.txt b_output

hashcode/2019/b.txt

Lines changed: 80001 additions & 0 deletions
Large diffs are not rendered by default.

hashcode/2019/c.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
for i in {1..100}; do
2+
c.out < c.txt > c_output/c.$i.txt
3+
done
4+
python judge.py -f c.txt c_output

hashcode/2019/c.txt

Lines changed: 1001 additions & 0 deletions
Large diffs are not rendered by default.

hashcode/2019/d.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
g++ graph.cpp -o d.out
2+
for i in {1..10}; do
3+
echo $i
4+
d.out < ./d.txt > d_output/d.$i.txt
5+
done
6+
python judge.py -f d.txt d_output

0 commit comments

Comments
 (0)