Skip to content
Snippets Groups Projects
Commit 4594fa6b authored by Xu's avatar Xu
Browse files

map1

parent c0207da9
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ def map1(vote_str):
else:
ret = vote[j] + ">" + vote[i] + ",0"
print(ret)
test_ret += ret
test_ret += '\n'
return test_ret
with open(sys.argv[1]) as f:
lines = f.readlines()
for l in lines:
map1(l)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment