CSES - Aalto Competitive Programming 2024 - wk1 - Mon - Results
Submission details
Task:Traffic jam
Sender:clovis
Submission time:2024-09-02 17:17:01 +0300
Language:CPython2
Status:READY
Result:
Test results
testverdicttime
#10.01 sdetails
#20.01 sdetails
#30.01 sdetails
#40.01 sdetails
#50.01 sdetails
#60.01 sdetails
#70.01 sdetails
#80.01 sdetails
#90.01 sdetails
#100.01 sdetails
#110.01 sdetails
#120.01 sdetails
#130.01 sdetails
#140.01 sdetails
#150.01 sdetails
#160.01 sdetails
#170.01 sdetails
#180.01 sdetails
#190.01 sdetails
#200.01 sdetails
#210.01 sdetails
#220.01 sdetails
#230.01 sdetails
#240.01 sdetails
#250.01 sdetails
#260.01 sdetails
#270.01 sdetails
#280.01 sdetails
#290.01 sdetails
#300.01 sdetails
#310.01 sdetails
#320.01 sdetails
#330.01 sdetails
#340.01 sdetails
#350.01 sdetails
#360.01 sdetails
#370.01 sdetails
#380.01 sdetails
#390.01 sdetails
#400.01 sdetails
#410.01 sdetails
#420.01 sdetails
#430.01 sdetails
#440.01 sdetails
#450.01 sdetails
#460.01 sdetails
#470.01 sdetails
#480.01 sdetails
#490.01 sdetails
#500.01 sdetails
#510.01 sdetails
#520.01 sdetails
#530.01 sdetails
#540.01 sdetails
#550.01 sdetails
#560.01 sdetails
#570.01 sdetails
#580.01 sdetails
#590.01 sdetails
#600.01 sdetails
#610.02 sdetails
#620.02 sdetails
#630.02 sdetails
#640.02 sdetails
#650.02 sdetails
#660.02 sdetails
#670.02 sdetails
#680.02 sdetails
#690.02 sdetails
#700.02 sdetails

Code

# problem: first line tells you the number of cars. The following lines tell you the interval each car will be in the junction

# approach
# basically I want to find common numbers and get the maximum count of a common number

# read the number on the first line. This is the number of cars
# with the number of cars, iterate through this number, read each line
# when reading each line, get the intervals and find all the numbers in between
# add to a dictionary number count with key being the interval timing number and value being the count of each timing number
# after count for all cars, get the values of the dict, print the max

def max_cars(intervalList):
  intervalNumCountDict = dict()

  for interval in intervalList:
    intervalParts = interval.split(" ")
    leftInterval = int(intervalParts[0])
    rightInterval = int(intervalParts[1])

    for i in range(leftInterval, rightInterval + 1):
      intervalNumCountDict[i] = intervalNumCountDict.get(i, 0) + 1

  return intervalNumCountDict


inp = input()
num_cars = inp

intervalList = []

for i in range(int(num_cars)):
  intervalList.append(input())

count_dict = max_cars(intervalList)
count_dict_values = count_dict.values()
print(max(count_dict_values))

Test details

Test 1

Verdict:

input
5
11 18
11 12
15 17
9 17
...

correct output
3

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    11 18
        ^
SyntaxError: unexpected EOF while parsing

Test 2

Verdict:

input
5
3 9
7 20
15 20
3 19
...

correct output
3

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    3 9
      ^
SyntaxError: unexpected EOF while parsing

Test 3

Verdict:

input
5
9 19
4 9
1 10
9 19
...

correct output
5

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    9 19
       ^
SyntaxError: unexpected EOF while parsing

Test 4

Verdict:

input
5
3 12
2 11
12 15
17 18
...

correct output
3

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    3 12
       ^
SyntaxError: unexpected EOF while parsing

Test 5

Verdict:

input
5
18 20
15 19
11 13
4 14
...

correct output
3

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    18 20
        ^
SyntaxError: unexpected EOF while parsing

Test 6

Verdict:

input
5
5 8
2 19
18 20
10 17
...

correct output
3

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    5 8
      ^
SyntaxError: unexpected EOF while parsing

Test 7

Verdict:

input
5
2 18
1 19
7 8
3 5
...

correct output
3

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    2 18
       ^
SyntaxError: unexpected EOF while parsing

Test 8

Verdict:

input
5
2 20
5 15
10 16
7 20
...

correct output
4

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    2 20
       ^
SyntaxError: unexpected EOF while parsing

Test 9

Verdict:

input
5
8 18
1 11
17 20
5 5
...

correct output
3

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    8 18
       ^
SyntaxError: unexpected EOF while parsing

Test 10

Verdict:

input
5
1 1
3 8
7 11
3 10
...

correct output
4

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    1 1
      ^
SyntaxError: unexpected EOF while parsing

Test 11

Verdict:

input
10
11 13
8 12
9 15
6 17
...

correct output
8

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    11 13
        ^
SyntaxError: unexpected EOF while parsing

Test 12

Verdict:

input
10
2 9
8 20
4 15
8 19
...

correct output
8

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    2 9
      ^
SyntaxError: unexpected EOF while parsing

Test 13

Verdict:

input
10
7 9
4 4
1 5
14 19
...

correct output
5

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    7 9
      ^
SyntaxError: unexpected EOF while parsing

Test 14

Verdict:

input
10
12 18
1 2
3 15
1 17
...

correct output
6

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    12 18
        ^
SyntaxError: unexpected EOF while parsing

Test 15

Verdict:

input
10
5 20
3 19
11 20
4 5
...

correct output
8

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    5 20
       ^
SyntaxError: unexpected EOF while parsing

Test 16

Verdict:

input
10
5 13
2 8
16 18
8 17
...

correct output
8

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    5 13
       ^
SyntaxError: unexpected EOF while parsing

Test 17

Verdict:

input
10
12 18
2 19
7 11
5 13
...

correct output
7

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    12 18
        ^
SyntaxError: unexpected EOF while parsing

Test 18

Verdict:

input
10
2 11
5 6
11 16
2 7
...

correct output
6

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    2 11
       ^
SyntaxError: unexpected EOF while parsing

Test 19

Verdict:

input
10
1 18
1 13
9 20
5 16
...

correct output
8

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    1 18
       ^
SyntaxError: unexpected EOF while parsing

Test 20

Verdict:

input
10
1 5
8 18
9 11
3 10
...

correct output
6

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    1 5
      ^
SyntaxError: unexpected EOF while parsing

Test 21

Verdict:

input
100
331945 344878
23242 358577
265284 432575
383635 510646
...

correct output
58

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    331945 344878
                ^
SyntaxError: unexpected EOF while parsing

Test 22

Verdict:

input
100
11714 252232
50579 603138
410587 435681
554555 564048
...

correct output
57

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    11714 252232
               ^
SyntaxError: unexpected EOF while parsing

Test 23

Verdict:

input
100
263708 329159
111946 492424
15682 49655
563433 573443
...

correct output
50

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    263708 329159
                ^
SyntaxError: unexpected EOF while parsing

Test 24

Verdict:

input
100
124241 333145
42778 460029
121802 428316
38571 508035
...

correct output
65

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    124241 333145
                ^
SyntaxError: unexpected EOF while parsing

Test 25

Verdict:

input
100
541635 584899
544732 562143
219469 330988
104454 142828
...

correct output
56

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    541635 584899
                ^
SyntaxError: unexpected EOF while parsing

Test 26

Verdict:

input
100
134271 466244
33376 118232
293306 526654
73518 502821
...

correct output
56

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    134271 466244
                ^
SyntaxError: unexpected EOF while parsing

Test 27

Verdict:

input
100
462552 540038
297097 573072
171690 200795
126658 322135
...

correct output
56

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    462552 540038
                ^
SyntaxError: unexpected EOF while parsing

Test 28

Verdict:

input
100
46155 255469
137504 304813
257937 471726
192928 376970
...

correct output
53

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    46155 255469
               ^
SyntaxError: unexpected EOF while parsing

Test 29

Verdict:

input
100
113815 528285
6723 287126
379269 585812
144823 151502
...

correct output
50

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    113815 528285
                ^
SyntaxError: unexpected EOF while parsing

Test 30

Verdict:

input
100
6275 391402
25919 220441
303554 385921
102892 301894
...

correct output
54

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    6275 391402
              ^
SyntaxError: unexpected EOF while parsing

Test 31

Verdict:

input
200
349680 466526
56164 180703
12552 516494
299148 516954
...

correct output
108

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    349680 466526
                ^
SyntaxError: unexpected EOF while parsing

Test 32

Verdict:

input
200
109035 192453
41315 154620
11780 131858
402050 438594
...

correct output
112

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    109035 192453
                ^
SyntaxError: unexpected EOF while parsing

Test 33

Verdict:

input
200
93244 232995
269893 529384
360329 447612
317907 528260
...

correct output
97

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    93244 232995
               ^
SyntaxError: unexpected EOF while parsing

Test 34

Verdict:

input
200
421407 470386
352706 367345
143675 582521
502292 519820
...

correct output
114

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    421407 470386
                ^
SyntaxError: unexpected EOF while parsing

Test 35

Verdict:

input
200
143318 310854
401813 557598
237535 467641
34287 398641
...

correct output
96

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    143318 310854
                ^
SyntaxError: unexpected EOF while parsing

Test 36

Verdict:

input
200
9076 513399
469260 492086
108204 544191
357676 381009
...

correct output
108

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    9076 513399
              ^
SyntaxError: unexpected EOF while parsing

Test 37

Verdict:

input
200
135056 264320
197575 327883
316431 564474
33682 362951
...

correct output
103

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    135056 264320
                ^
SyntaxError: unexpected EOF while parsing

Test 38

Verdict:

input
200
178226 450594
82713 109947
249837 320920
281091 510627
...

correct output
107

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    178226 450594
                ^
SyntaxError: unexpected EOF while parsing

Test 39

Verdict:

input
200
393373 398425
45975 568291
305719 324476
261670 442591
...

correct output
108

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    393373 398425
                ^
SyntaxError: unexpected EOF while parsing

Test 40

Verdict:

input
200
58993 496474
260365 371793
460435 493947
56859 249644
...

correct output
105

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    58993 496474
               ^
SyntaxError: unexpected EOF while parsing

Test 41

Verdict:

input
1000
58068 355725
395347 536742
358259 542973
346571 577267
...

correct output
516

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    58068 355725
               ^
SyntaxError: unexpected EOF while parsing

Test 42

Verdict:

input
1000
29471 589969
57506 483432
174866 389980
250305 411196
...

correct output
496

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    29471 589969
               ^
SyntaxError: unexpected EOF while parsing

Test 43

Verdict:

input
1000
126086 545768
218902 424576
291340 394396
158589 441840
...

correct output
496

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    126086 545768
                ^
SyntaxError: unexpected EOF while parsing

Test 44

Verdict:

input
1000
312883 531822
243696 404697
422989 572761
111889 147621
...

correct output
516

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    312883 531822
                ^
SyntaxError: unexpected EOF while parsing

Test 45

Verdict:

input
1000
413156 580657
178086 312928
423093 540156
31969 390612
...

correct output
515

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    413156 580657
                ^
SyntaxError: unexpected EOF while parsing

Test 46

Verdict:

input
1000
20157 526286
133047 421009
168036 352185
262047 570796
...

correct output
484

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    20157 526286
               ^
SyntaxError: unexpected EOF while parsing

Test 47

Verdict:

input
1000
186252 329188
204116 431319
314149 576299
178378 570064
...

correct output
526

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    186252 329188
                ^
SyntaxError: unexpected EOF while parsing

Test 48

Verdict:

input
1000
257494 501892
189236 290808
417823 492693
503108 553381
...

correct output
529

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    257494 501892
                ^
SyntaxError: unexpected EOF while parsing

Test 49

Verdict:

input
1000
440937 546476
103321 263496
339461 417536
34170 174218
...

correct output
487

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    440937 546476
                ^
SyntaxError: unexpected EOF while parsing

Test 50

Verdict:

input
1000
181034 522437
484192 595527
172323 543908
209577 405953
...

correct output
528

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    181034 522437
                ^
SyntaxError: unexpected EOF while parsing

Test 51

Verdict:

input
10000
45796 389604
54588 554625
6480 230292
132011 412509
...

correct output
5040

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    45796 389604
               ^
SyntaxError: unexpected EOF while parsing

Test 52

Verdict:

input
10000
173017 222949
17536 418698
371928 579501
194960 329203
...

correct output
4932

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    173017 222949
                ^
SyntaxError: unexpected EOF while parsing

Test 53

Verdict:

input
10000
35688 519491
36083 511716
144944 225431
254661 329431
...

correct output
5084

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    35688 519491
               ^
SyntaxError: unexpected EOF while parsing

Test 54

Verdict:

input
10000
150309 588246
41663 417148
272164 454943
378370 404808
...

correct output
5005

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    150309 588246
                ^
SyntaxError: unexpected EOF while parsing

Test 55

Verdict:

input
10000
23324 368919
118406 505285
302915 471836
256075 427134
...

correct output
5028

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    23324 368919
               ^
SyntaxError: unexpected EOF while parsing

Test 56

Verdict:

input
10000
14733 277050
272054 385434
186503 304365
65427 409189
...

correct output
5071

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    14733 277050
               ^
SyntaxError: unexpected EOF while parsing

Test 57

Verdict:

input
10000
426026 440631
53008 185605
323120 363881
433574 569197
...

correct output
5028

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    426026 440631
                ^
SyntaxError: unexpected EOF while parsing

Test 58

Verdict:

input
10000
215735 571270
84210 264983
139013 280706
62911 316988
...

correct output
5036

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    215735 571270
                ^
SyntaxError: unexpected EOF while parsing

Test 59

Verdict:

input
10000
100867 232727
291085 542548
180752 519986
70248 552319
...

correct output
5018

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    100867 232727
                ^
SyntaxError: unexpected EOF while parsing

Test 60

Verdict:

input
10000
77563 330781
3428 282943
62433 482602
120814 489906
...

correct output
4974

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    77563 330781
               ^
SyntaxError: unexpected EOF while parsing

Test 61

Verdict:

input
100000
246586 530849
324115 389522
33488 599309
67846 517025
...

correct output
50092

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    246586 530849
                ^
SyntaxError: unexpected EOF while parsing

Test 62

Verdict:

input
100000
151769 163196
411638 428029
27881 555301
161709 194138
...

correct output
49927

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    151769 163196
                ^
SyntaxError: unexpected EOF while parsing

Test 63

Verdict:

input
100000
39491 226537
118226 481781
97491 575030
110949 445551
...

correct output
50015

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    39491 226537
               ^
SyntaxError: unexpected EOF while parsing

Test 64

Verdict:

input
100000
69590 283153
300522 495108
223274 368388
62247 218684
...

correct output
49913

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    69590 283153
               ^
SyntaxError: unexpected EOF while parsing

Test 65

Verdict:

input
100000
504946 530310
224245 261619
63385 352368
19219 407804
...

correct output
49833

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    504946 530310
                ^
SyntaxError: unexpected EOF while parsing

Test 66

Verdict:

input
100000
566124 598194
184196 411065
332387 465916
254612 406138
...

correct output
49947

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    566124 598194
                ^
SyntaxError: unexpected EOF while parsing

Test 67

Verdict:

input
100000
449821 474093
156077 417344
383973 444464
55148 413842
...

correct output
50077

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    449821 474093
                ^
SyntaxError: unexpected EOF while parsing

Test 68

Verdict:

input
100000
68643 447506
360603 515177
141640 589407
316333 550205
...

correct output
50142

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    68643 447506
               ^
SyntaxError: unexpected EOF while parsing

Test 69

Verdict:

input
100000
10579 453250
257955 382091
511698 539259
14502 161173
...

correct output
50313

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    10579 453250
               ^
SyntaxError: unexpected EOF while parsing

Test 70

Verdict:

input
100000
182036 358379
286536 600845
149433 208473
431529 460545
...

correct output
49932

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 32, in <module>
    intervalList.append(input())
  File "<string>", line 1
    182036 358379
                ^
SyntaxError: unexpected EOF while parsing