Skip to content

Commit ad4eb51

Browse files
committed
# Fix issue
1 parent ba8a89c commit ad4eb51

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+23
-2424
lines changed

CP/DecemberCookOff2017/prob1.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
for i in xrange(input()):
2+
n = input()
3+
l = []
4+
for i in xrange(n):
5+
l.append(raw_input())
6+
#print(l)
7+
l2 = list(set(l))
8+
#print(l2)
9+
if len(l2) == 0:
10+
print "Draw"
11+
continue
12+
if len(l2) == 1:
13+
print l2[0]
14+
continue
15+
c1 = l.count(l2[0])
16+
c2 = l.count(l2[1])
17+
if c1!=c2:
18+
if c1 > c2:
19+
print l2[0]
20+
else:
21+
print l2[1]
22+
else:
23+
print "Draw"

CP/January Challenge 2018/root.cpp

Whitespace-only changes.

misc/algos-master/avl_tree/AvlTree.java

Lines changed: 0 additions & 277 deletions
This file was deleted.

misc/algos-master/binary_search/BinarySearch.cs

Lines changed: 0 additions & 41 deletions
This file was deleted.

misc/algos-master/binary_search/BinarySearch.java

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)