A list of specially and randomly generated test inputs and their corresponding outputs to help those who are doing the machine exercises for the CS 32 course in UP Diliman (2020)
This repository does NOT include source code for the solutions for the problems.
Sample Input 1:
15
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
0 0
Sample Output 1:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Sample Input 2:
15
1 2
3 4
6 7
7 8
9 10
10 11
11 12
12 13
13 14
14 15
0 0
Sample Output 2:
1 5 9 2 6 10 3 7 11 4 8 12 13 14 15
Sample Input 1:
8
90 29 38 174.53351568356211
87 92 36 484.42486998394764
34 59 43 999.1241188997842
32 63 66 114.72893985534827
68 46 20 78.4330433145638
100 71 31 439.78042763168736
58 51 70 70.70722431261156
2 43 50 287.65547306233543
2
31 91 39 847.428761484233
92 87 14 435.959612195524
Sample Output 1:
100 71 31 439.780
92 87 14 435.960
90 29 38 174.534
87 92 36 484.425
68 46 20 78.433
58 51 70 70.707
34 59 43 999.124
32 63 66 114.729
31 91 39 847.429
2 43 50 287.655
Sample Input 2:
19
1 5 7 9.118364462817668
7 1 3 6.283268440141687
8 3 2 6.951782664978866
8 3 8 5.305146180247151
8 4 6 5.409330938803655
2 6 4 6.8292479139233775
6 9 5 5.214363838617762
1 9 1 1.1986839544074193
5 8 8 5.091740638307418
1 1 3 4.935697631357939
9 4 8 6.59666021737349
9 2 8 5.967799585467958
2 4 6 2.838318959691188
3 3 3 3.337339246077556
3 9 2 6.711547035565322
7 5 3 6.886297545232418
9 7 6 5.211182161538035
8 3 1 5.568463421930328
2 9 5 6.163086458753594
20
7 7 4 7.80895397482281
1 2 3 3.3940214945081344
6 4 7 4.244905444590118
1 9 1 2.417546382114045
3 7 2 2.6636269154230647
3 5 7 3.2348125713412155
5 9 8 2.8980852080114836
8 4 6 6.083318906155289
1 4 2 6.812875003454582
4 8 1 6.5905157559235565
1 3 8 8.934958755760857
6 9 5 7.731194906894899
7 8 8 8.652941702688311
9 4 3 6.251013848577074
9 8 2 5.672027033976413
1 3 4 1.926544304559045
4 9 8 3.739046210404628
9 1 4 9.322845088400488
2 7 8 2.2724478308053717
2 9 5 6.58332108059722
Sample Output 2:
9 8 2 5.672
9 7 6 5.211
9 4 8 6.597
9 4 3 6.251
9 2 8 5.968
9 1 4 9.323
8 4 6 11.493
8 3 8 5.305
8 3 2 6.952
8 3 1 5.568
7 8 8 8.653
7 7 4 7.809
7 5 3 6.886
7 1 3 6.283
6 9 5 12.946
6 4 7 4.245
5 9 8 2.898
5 8 8 5.092
4 9 8 3.739
4 8 1 6.591
3 9 2 6.712
3 7 2 2.664
3 5 7 3.235
3 3 3 3.337
2 9 5 12.746
2 7 8 2.272
2 6 4 6.829
2 4 6 2.838
1 9 1 3.616
1 5 7 9.118
1 4 2 6.813
1 3 8 8.935
1 3 4 1.927
1 2 3 3.394
1 1 3 4.936
Sample Input 3:
5
1 3 0 74
9 7 7 88
7 1 1 15
5 7 8 11
7 2 9 96
5
7 2 9 2
7 1 1 24
9 7 7 78
5 7 8 4
1 3 0 37
Sample Output 3:
9 7 7 166.000
7 2 9 98.000
7 1 1 39.000
5 7 8 15.000
1 3 0 111.000
Sample Input 1:
1
9
ochronosus
aboveproof
outyielded
birkremite
sojourning
nuciferous
inofficial
decurrency
polydomous
Sample Output 1:
0:
1:
2:
3: nuciferous
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14: sojourning birkremite
15:
16:
17:
18:
19: aboveproof ochronosus
20: decurrency inofficial
21:
22:
23:
24: outyielded
25:
26:
27: polydomous
28:
29:
30:
31:
Sample Input 2:
2
9
ochronosus
aboveproof
outyielded
birkremite
sojourning
nuciferous
inofficial
decurrency
polydomous
Sample Output 2:
0:
1:
2:
3:
4:
5:
6: birkremite
7:
8: aboveproof
9: decurrency
10:
11: outyielded
12:
13:
14:
15:
16: nuciferous
17:
18:
19:
20:
21: sojourning
22:
23:
24: ochronosus
25: inofficial
26:
27:
28: polydomous
29:
30:
31:
Sample Input 3:
3
9
ochronosus
aboveproof
outyielded
birkremite
sojourning
nuciferous
inofficial
decurrency
polydomous
Sample Output 3:
0:
1:
2:
3:
4:
5:
6:
7: outyielded
8: nuciferous
9: sojourning birkremite
10:
11:
12:
13:
14:
15:
16: polydomous
17:
18:
19:
20:
21:
22:
23:
24: aboveproof ochronosus
25:
26:
27: decurrency inofficial
28:
29:
30:
31: