Stopwatch

This commit is contained in:
jadmin committed 2023-06-24 21:01:42 +02:00
1 parent c2f131b954
commit dbfdfbbab8
1 file changed
+10
+10
View File
@@ -0,0 +1,10 @@
n = int(input())
if n % 2 != 0:
print("still running")
else:
seconds = 0
for _ in range(0, n, 2):
a, b = map(int, (input(), input()))
seconds += b - a
print(seconds)
5