Submission #13714627


Source Code Expand

Copy
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

a, b, c, d, k = map(int, readline().split())

x = 60 * a + b
y = 60 * c + d

print(y - x - k)

Submission Info

Submission Time
Task A - Study Scheduling
User maspy
Language Python (3.8.2)
Score 100
Code Size 222 Byte
Status AC
Exec Time 21 ms
Memory 9176 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 13
Set Name Test Cases
Sample s1.txt, s2.txt
All 0.txt, 1.txt, 10.txt, 2.txt, 3.txt, 4.txt, 5.txt, 6.txt, 7.txt, 8.txt, 9.txt, s1.txt, s2.txt
Case Name Status Exec Time Memory
0.txt AC 16 ms 8940 KB
1.txt AC 17 ms 9108 KB
10.txt AC 15 ms 8932 KB
2.txt AC 18 ms 9112 KB
3.txt AC 15 ms 9112 KB
4.txt AC 17 ms 9056 KB
5.txt AC 17 ms 9000 KB
6.txt AC 17 ms 8948 KB
7.txt AC 21 ms 9172 KB
8.txt AC 18 ms 9044 KB
9.txt AC 16 ms 9176 KB
s1.txt AC 17 ms 9048 KB
s2.txt AC 18 ms 8932 KB