Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
96-LB committed Dec 19, 2020
1 parent 7b69787 commit 099a32b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 05 - Charitable Donation/6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Sophia 26
Olivia 12
Riley 48
Emma 19
Ava 25
Ava 25
Isabella 85
Aria 44
Aaliyah 72
Expand Down
2 changes: 1 addition & 1 deletion 07 - Limiting Factors/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys

items = sys.stdin.readline()
maximum = 100000 #set the minimum impossibly high
maximum = 10000000 #set the minimum impossibly high
factors = [] #the list of limiting factors

for i in range(int(items)): #loops over the items
Expand Down
2 changes: 1 addition & 1 deletion judge.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def get_args():
if language in ['java']:
subprocess.run(['javac', file], capture_output=True, text=True, check=True)
if language in ['java', 'class']:
return ['java', '.'.join(file.split('.')[:-1])]
return ['java', os.path.splitext(os.path.basename(file))[1]]
if language in ['cpp', 'c++']:
subprocess.run(['g++', file], capture_output=True, text=True, check=True)
file = 'a.exe'
Expand Down

0 comments on commit 099a32b

Please sign in to comment.