Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
96-LB committed Dec 19, 2020
1 parent b12c514 commit d1cf3b3
Show file tree
Hide file tree
Showing 287 changed files with 4,384 additions and 0 deletions.
Empty file added 01 - Hello Greg/0.txt
Empty file.
Empty file added 01 - Hello Greg/1.txt
Empty file.
Empty file added 01 - Hello Greg/2.txt
Empty file.
Empty file added 01 - Hello Greg/3.txt
Empty file.
Empty file added 01 - Hello Greg/4.txt
Empty file.
Empty file added 01 - Hello Greg/5.txt
Empty file.
Empty file added 01 - Hello Greg/6.txt
Empty file.
Empty file added 01 - Hello Greg/7.txt
Empty file.
Empty file added 01 - Hello Greg/8.txt
Empty file.
Empty file added 01 - Hello Greg/9.txt
Empty file.
1 change: 1 addition & 0 deletions 01 - Hello Greg/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print('Hello Greg')
1 change: 1 addition & 0 deletions 02 - Muffling Masks/0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
freddy
1 change: 1 addition & 0 deletions 02 - Muffling Masks/1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello Greg #2
1 change: 1 addition & 0 deletions 02 - Muffling Masks/2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
How are you doing on this fine day, sir?
1 change: 1 addition & 0 deletions 02 - Muffling Masks/3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Would you like to sign up for QuHacks 2020?
1 change: 1 addition & 0 deletions 02 - Muffling Masks/4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Nice weather we're having today, wouldn't you say?
1 change: 1 addition & 0 deletions 02 - Muffling Masks/5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Quack Quack I'm A Duck And I Say Quack Quack
1 change: 1 addition & 0 deletions 02 - Muffling Masks/6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fun fact: newline characters are often displayed as \n in text
1 change: 1 addition & 0 deletions 02 - Muffling Masks/7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Coming up with random conversation starters to make test cases is hard, okay?
1 change: 1 addition & 0 deletions 02 - Muffling Masks/8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<(`v`)> <(quack)
1 change: 1 addition & 0 deletions 02 - Muffling Masks/9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
01234567890!@#$%^&*()
4 changes: 4 additions & 0 deletions 02 - Muffling Masks/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import sys

string = sys.stdin.read() #reads the entire input
print(string)
5 changes: 5 additions & 0 deletions 03 - Duck Donuts/0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
3
Vanilla
Chocolate
Strawberry
2
4 changes: 4 additions & 0 deletions 03 - Duck Donuts/1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
2
Boston Cream
Powdered Sugar
2
5 changes: 5 additions & 0 deletions 03 - Duck Donuts/2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
3
Red
Blue
Green
1
6 changes: 6 additions & 0 deletions 03 - Duck Donuts/3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
4
Doughnut
Donut
Noughdut
Nodut
4
12 changes: 12 additions & 0 deletions 03 - Duck Donuts/4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
10
1
2
3
4
5
6
7
8
9
10
5
5 changes: 5 additions & 0 deletions 03 - Duck Donuts/5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
3
:)
:(
:|
1
12 changes: 12 additions & 0 deletions 03 - Duck Donuts/6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
10
Never
gonna
give
you
up
Never
gonna
let
you
down
6
28 changes: 28 additions & 0 deletions 03 - Duck Donuts/7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
26
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
12
3 changes: 3 additions & 0 deletions 03 - Duck Donuts/8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1
Freddy is #1
1
38 changes: 38 additions & 0 deletions 03 - Duck Donuts/9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
36
Lorem
ipsum
dolor
sit
amet,
consectetur
adipiscing
elit,
sed
do
eiusmod
tempor
incididunt
ut
labore
et
dolore
magna
aliqua.
Ut
enim
ad
minim
veniam,
quis
nostrud
exercitation
ullamco
laboris
nisi
ut
aliquip
ex
ea
commodo
consequat.
33
7 changes: 7 additions & 0 deletions 03 - Duck Donuts/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import sys

lines = sys.stdin.readlines()
count = lines[0] #first line
index = lines[int(count) + 1] #last line
donut = lines[int(index)] #answer
print(donut)
5 changes: 5 additions & 0 deletions 04 - Color Counting/0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
4 12
5
10
15
20
3 changes: 3 additions & 0 deletions 04 - Color Counting/1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
2 2
1
2
7 changes: 7 additions & 0 deletions 04 - Color Counting/2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
6 5
1
5
2
10
0
12
4 changes: 4 additions & 0 deletions 04 - Color Counting/3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
3 10
10
20
0
5 changes: 5 additions & 0 deletions 04 - Color Counting/4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
4 3
0
0
0
0
7 changes: 7 additions & 0 deletions 04 - Color Counting/5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
6 4
1
2
4
8
16
32
9 changes: 9 additions & 0 deletions 04 - Color Counting/6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
8 1
0
1
0
0
1
1
0
0
27 changes: 27 additions & 0 deletions 04 - Color Counting/7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
26 4
1
5
2
7
3
6
3
2
5
3
2
2
7
3
2
6
4
2
5
2
6
8
4
2
7
3
21 changes: 21 additions & 0 deletions 04 - Color Counting/8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
20 100
12
380
49
123
4
95
69
355
47
810
56
278
9
13
431
28
95
712
30
48
6 changes: 6 additions & 0 deletions 04 - Color Counting/9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
5 193047
105624
147925
207852
198720
193048
11 changes: 11 additions & 0 deletions 04 - Color Counting/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import sys

#reads the first line and uses .split() to get multiple numbers
colors, needed = sys.stdin.readline().split()

count = 0
for i in range(int(colors)): #loops over every color
color = sys.stdin.readline() #reads the next line
if int(color) >= int(needed): #checks if there's enough fabric
count += 1 #adds one to count if there is
print(count)
5 changes: 5 additions & 0 deletions 05 - Charitable Donation/0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
4
Freddie 7
Fred 4
Frederick 9
Frederico 8
4 changes: 4 additions & 0 deletions 05 - Charitable Donation/1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
3
Alpha 0
Bravo 1
Charlie 2
2 changes: 2 additions & 0 deletions 05 - Charitable Donation/2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1
Greg 1000
6 changes: 6 additions & 0 deletions 05 - Charitable Donation/3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
5
A 1
B 4
C 2
D 5
E 3
3 changes: 3 additions & 0 deletions 05 - Charitable Donation/4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
5
4 3
2 1
7 changes: 7 additions & 0 deletions 05 - Charitable Donation/5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
6
Freddy 1007
Freddie 1070
Freddi 1700
Fredy 7001
Fredie 701
Fredi 71
26 changes: 26 additions & 0 deletions 05 - Charitable Donation/6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
25
Sophia 26
Olivia 12
Riley 48
Emma 19
Ava 25
Isabella 85
Aria 44
Aaliyah 72
Amelia 4
Mia 19
Layla 63
Zoe 81
Camilla 91
Charlotte 34
Eliana 43
Mila 51
Everly 52
Luna 14
Avery 32
Evelyn 56
Harper 76
Lily 67
Ella 87
Gianna 22
Chloe 31
Loading

0 comments on commit d1cf3b3

Please sign in to comment.