Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Lewis committed Apr 21, 2017
0 parents commit 0f59b5f
Show file tree
Hide file tree
Showing 106 changed files with 10,706 additions and 0 deletions.
Empty file added .gitignore
Empty file.
26 changes: 26 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This how we want to name the binary output
BINARY=kk

# These are the values we want to pass for VERSION and BUILD
VERSION=1.0.0
BUILD=`git rev-parse HEAD`

# Setup the -ldflags option for go build here, interpolate the variable values
LDFLAGS=-ldflags "-X main.Version=${VERSION} -X main.Build=${BUILD}"

# Builds the project
build:
go build ${LDFLAGS} -o ${BINARY}

# Installs our project: copies binaries
install:
go install ${LDFLAGS}

test:
go test

# Cleans our project: deletes binaries
clean:
if [ -f ${BINARY} ] ; then rm ${BINARY} ; fi

.PHONY: clean install
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Strassen Assignment 3

## I'm a TF, how do I compile this thing?

#### First, Does your grading server have go installed?

```
go version
//go version go1.8 darwin/amd64
```

#### If that is blank, let's just install go real quick....

```
sudo wget https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.8.linux-amd64.tar.gz
sudo export PATH=$PATH:/usr/local/go/bin
```

#### Cool, Go is installed. Now everything should work normally.

```
make //?? Awesome!
make test //?? Oh boy! But wait. you have to have this -> https://github.com/smartystreets/goconvey
```
100 changes: 100 additions & 0 deletions input/1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
670545334951
539716545535
537278531263
628720831507
589254281877
476246917571
588040442852
900483414573
109518148947
807643119931
879915826965
248607072609
710687377136
851847310104
816829919314
565525861685
731106154663
134565760403
608503833249
628783396361
345937978605
359108446499
346179455763
178055110493
597109127072
631013077512
793104347045
683779684067
239962787049
377005483114
653609737459
74383808351
545263322459
428871905832
793545263872
654353191172
731734254156
572560062017
196408041412
962601941790
134706361341
57453882378
709989223201
31898834307
776328303271
768264844824
32603538226
520710823990
514703342478
667250369528
154049370723
641463130580
544404459589
257309013903
526154710478
779114095352
875331561150
136659886360
226281039751
188240173458
422578807582
929984857491
343443260808
875933974164
376050634211
944608657224
752028504527
992788954772
936517690279
105308862702
547760312376
352258157069
490711597096
606146510004
597318294883
805596474784
498315105805
775445987069
844910800118
51194835495
667585934219
427326566566
312735041109
436421918931
38337568381
494006268671
523517251881
679900293103
523976330805
715310006977
800933829629
495004216183
795376010585
965075150962
549536111996
211164762571
871680100221
792155659736
557978937095
825945498988
100 changes: 100 additions & 0 deletions input/10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
647126290689
377245953927
910204043313
332176496353
516972822192
406133398827
569525659135
765087264358
11799342955
674537106111
359704813072
945230847400
570031724646
168804331209
945316088781
475536289620
808029098923
956175911981
6431860456
519156788557
265294030447
747395451262
511918502026
81876931483
784992175727
524283096755
122612875315
922869642606
67414623160
844885671719
414247358745
443722540529
453878516832
54389265152
776240514027
169323768389
531438849536
69619490373
877729026727
848298498915
753236035513
908795750721
291284512226
62730460245
634591841604
592901710258
59018511951
208159684990
777409398601
541013649091
384831962346
735819801574
372561940902
698745780570
910063141108
379362878381
508742435885
124151474417
536841423739
615349442936
366093182748
175635004939
551690124922
31387063980
799783476159
661541554717
513492196491
238146792962
151504395620
105218747906
482750058998
299602518831
679722106294
982528906061
764941156623
334037198995
560604214144
491031352174
165875671750
348051969531
521518086097
448229538336
653034628712
860589983366
167796304371
877040293632
341571288825
653467130176
901373089661
504437095999
657926006856
270097327279
68644741146
397805192366
751526228275
284659377221
58189457838
707869684248
473444935964
806249340461
100 changes: 100 additions & 0 deletions input/100.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
878538153000
653416931489
838235677829
235071593962
121741328356
117191982795
269929967090
287493630527
977159665138
861220891015
539709386699
66404768458
122374465818
373089138607
827133551568
909500203465
81215275137
614923860725
273611075801
942057419734
758232538071
220718937933
377398615602
132698247786
143995561114
922442769180
801598283753
363612719783
465509674769
952415301584
348749346159
93976539536
549926258460
579129447023
286215136183
262314251582
167236406812
235705203271
493425138202
16006347645
396688904129
79238693094
975250306634
249145056700
561702657706
229368425453
468396090727
300945609652
875522502296
26775083351
861077959876
648121963921
942532484589
155519110333
183194195215
628323244692
984859892813
60819170320
400866411367
660431190445
362975947839
652606920752
427106953143
106683454693
45740959836
940036211065
7313604596
665145205088
70976835179
699800803874
605204641970
401141032438
236927860952
349256232270
945827530474
5622283057
404839051011
384407820648
242192560811
558605766161
142762092490
543132226420
549964394658
858338079682
493331548120
412253094526
496074528782
911013126746
254840065699
881660882634
593788438241
947483926486
176370890553
577184740093
322596451332
621617465058
718553534472
777642757507
988039444650
377658657611
Loading

0 comments on commit 0f59b5f

Please sign in to comment.