Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Ethan Mertz
/
CS-123-Final
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4c461b2d
authored
May 31, 2018
by
Ethan Mertz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://mit.cs.uchicago.edu/ethanmertz/CS-123-Final
parents
f842fe67
febc25e9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
3 deletions
C/split.py → C/C_split.py
Python/py_split.py
Python/topfunctions.py
C/split.py
→
C/
C_
split.py
View file @
4c461b2d
File moved
Python/py_split.py
View file @
4c461b2d
import
re
reg
=
"#include"
def
go
():
print
(
"going"
)
count
=
0
...
...
Python/topfunctions.py
View file @
4c461b2d
...
...
@@ -37,7 +37,7 @@ class TopFunctions(MRJob):
count
+=
s
[
0
]
score
+=
s
[
2
]
total
=
int
(
l
[
0
][
1
])
yield
name
,
(
count
,
score
)
yield
name
,
(
count
,
total
,
score
)
def
reducer_init
(
self
):
self
.
h
=
[(
-
float
(
"inf"
),
""
)]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment