Skip to content

Commit 95b8e8a

Browse files
committed
clean output
1 parent 2f20216 commit 95b8e8a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

judge.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ def readStatus(token):
5353
print(status)
5454

5555
if status == "Accepted":
56-
print(f'Output : \n{response["stdout"]}')
56+
#print(f'Output : \n{response["stdout"]}')
57+
print(f'Time : {response["time"]}')
5758
print("Compile Success ✅")
5859
return status
5960
else:
60-
return response
61+
return response['status']['description']
6162

6263
def submit(program, language_id, *argv):
6364
if len(argv) == 2:

0 commit comments

Comments
 (0)