Cody

# Problem 44075. GJam 2017 Kickstart: Parentheses (Large)

Solution 2286293

Submitted on 16 May 2020
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Fail
v=parenc(36499,40104); assert(~isempty(v)) assert(v==666106750)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test1 (line 1) v=parenc(36499,40104);

2   Fail
v=parenc(75814,21934); assert(~isempty(v)) assert(v==240561145)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test2 (line 1) v=parenc(75814,21934);

3   Fail
v=parenc(88684,2943); assert(~isempty(v)) assert(v==4332096)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test3 (line 1) v=parenc(88684,2943);

4   Fail
v=parenc(63688,19182); assert(~isempty(v)) assert(v==183984153)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test4 (line 1) v=parenc(63688,19182);

5   Fail
v=parenc(71034,19757); assert(~isempty(v)) assert(v==195179403)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test5 (line 1) v=parenc(71034,19757);

6   Fail
v=parenc(95210,572); assert(~isempty(v)) assert(v==163878)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test6 (line 1) v=parenc(95210,572);

7   Fail
v=parenc(50000,50000); assert(~isempty(v)) assert(v==1250025000)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test7 (line 1) v=parenc(50000,50000);

8   Fail
v=parenc(37583,54023); assert(~isempty(v)) assert(v==706259736)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test8 (line 1) v=parenc(37583,54023);

9   Fail
v=parenc(13403,50583); assert(~isempty(v)) assert(v==89826906)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test9 (line 1) v=parenc(13403,50583);

10   Fail
v=parenc(74324,16176); assert(~isempty(v)) assert(v==130839576)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test10 (line 1) v=parenc(74324,16176);

11   Fail
v=parenc(95662,20); assert(~isempty(v)) assert(v==210)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test11 (line 1) v=parenc(95662,20);

12   Fail
v=parenc(84426,8859); assert(~isempty(v)) assert(v==39245370)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test12 (line 1) v=parenc(84426,8859);

13   Fail
v=parenc(1764,75732); assert(~isempty(v)) assert(v==1556730)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test13 (line 1) v=parenc(1764,75732);

14   Fail
v=parenc(75135,17355); assert(~isempty(v)) assert(v==150606690)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test14 (line 1) v=parenc(75135,17355);

15   Fail
v=parenc(16014,48995); assert(~isempty(v)) assert(v==128232105)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test15 (line 1) v=parenc(16014,48995);

16   Fail
v=parenc(100000,0); assert(~isempty(v)) assert(v==0)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test16 (line 1) v=parenc(100000,0);

17   Fail
v=parenc(90812,5679); assert(~isempty(v)) assert(v==16128360)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test17 (line 1) v=parenc(90812,5679);

18   Fail
v=parenc(55860,34690); assert(~isempty(v)) assert(v==601715395)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test18 (line 1) v=parenc(55860,34690);

19   Fail
v=parenc(82678,16936); assert(~isempty(v)) assert(v==143422516)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test19 (line 1) v=parenc(82678,16936);

20   Fail
v=parenc(50696,22228); assert(~isempty(v)) assert(v==247053106)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test20 (line 1) v=parenc(50696,22228);

21   Fail
v=parenc(60183,19425); assert(~isempty(v)) assert(v==188675025)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test21 (line 1) v=parenc(60183,19425);

22   Fail
v=parenc(88288,3180); assert(~isempty(v)) assert(v==5057790)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test22 (line 1) v=parenc(88288,3180);

23   Fail
v=parenc(18628,32214); assert(~isempty(v)) assert(v==173510506)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test23 (line 1) v=parenc(18628,32214);

24   Fail
v=parenc(99681,195); assert(~isempty(v)) assert(v==19110)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test24 (line 1) v=parenc(99681,195);

25   Fail
v=parenc(7,13); assert(~isempty(v)) assert(v==28)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test25 (line 1) v=parenc(7,13);

26   Fail
v=parenc(62367,35577); assert(~isempty(v)) assert(v==632879253)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test26 (line 1) v=parenc(62367,35577);

27   Fail
v=parenc(54171,29950); assert(~isempty(v)) assert(v==448516225)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test27 (line 1) v=parenc(54171,29950);

28   Fail
v=parenc(22417,8626); assert(~isempty(v)) assert(v==37208251)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test28 (line 1) v=parenc(22417,8626);

29   Fail
v=parenc(37824,9490); assert(~isempty(v)) assert(v==45034795)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test29 (line 1) v=parenc(37824,9490);

30   Fail
v=parenc(95981,624); assert(~isempty(v)) assert(v==195000)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test30 (line 1) v=parenc(95981,624);

31   Fail
v=parenc(57025,7699); assert(~isempty(v)) assert(v==29641150)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test31 (line 1) v=parenc(57025,7699);

32   Fail
v=parenc(1,1); assert(~isempty(v)) assert(v==1)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test32 (line 1) v=parenc(1,1);

33   Fail
v=parenc(16007,35971); assert(~isempty(v)) assert(v==128120028)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test33 (line 1) v=parenc(16007,35971);

34   Fail
v=parenc(2306,52078); assert(~isempty(v)) assert(v==2659971)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test34 (line 1) v=parenc(2306,52078);

35   Fail
v=parenc(70555,4927); assert(~isempty(v)) assert(v==12140128)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test35 (line 1) v=parenc(70555,4927);

36   Fail
v=parenc(19454,63092); assert(~isempty(v)) assert(v==189238785)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test36 (line 1) v=parenc(19454,63092);

37   Fail
v=parenc(73352,18081); assert(~isempty(v)) assert(v==163470321)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test37 (line 1) v=parenc(73352,18081);

38   Fail
v=parenc(71344,18591); assert(~isempty(v)) assert(v==172821936)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test38 (line 1) v=parenc(71344,18591);

39   Fail
v=parenc(76452,13351); assert(~isempty(v)) assert(v==89131276)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test39 (line 1) v=parenc(76452,13351);

40   Fail
v=parenc(88885,3106); assert(~isempty(v)) assert(v==4825171)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test40 (line 1) v=parenc(88885,3106);

41   Fail
v=parenc(53619,9977); assert(~isempty(v)) assert(v==49775253)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test41 (line 1) v=parenc(53619,9977);

42   Fail
v=parenc(39466,15681); assert(~isempty(v)) assert(v==122954721)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test42 (line 1) v=parenc(39466,15681);

43   Fail
v=parenc(33791,51813); assert(~isempty(v)) assert(v==570932736)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test43 (line 1) v=parenc(33791,51813);

44   Fail
v=parenc(40408,42624); assert(~isempty(v)) assert(v==816423436)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test44 (line 1) v=parenc(40408,42624);

45   Fail
v=parenc(998,12); assert(~isempty(v)) assert(v==78)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test45 (line 1) v=parenc(998,12);

46   Fail
v=parenc(58818,23613); assert(~isempty(v)) assert(v==278798691)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test46 (line 1) v=parenc(58818,23613);

47   Fail
v=parenc(82533,6389); assert(~isempty(v)) assert(v==20412855)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test47 (line 1) v=parenc(82533,6389);

48   Fail
v=parenc(73823,18704); assert(~isempty(v)) assert(v==174929160)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test48 (line 1) v=parenc(73823,18704);

49   Fail
v=parenc(24046,69819); assert(~isempty(v)) assert(v==289117081)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test49 (line 1) v=parenc(24046,69819);

50   Fail
v=parenc(83603,2337); assert(~isempty(v)) assert(v==2731953)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test50 (line 1) v=parenc(83603,2337);

51   Fail
v=parenc(95719,1658); assert(~isempty(v)) assert(v==1375311)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test51 (line 1) v=parenc(95719,1658);

52   Fail
v=parenc(9,11); assert(~isempty(v)) assert(v==45)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test52 (line 1) v=parenc(9,11);

53   Fail
v=parenc(29910,7601); assert(~isempty(v)) assert(v==28891401)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test53 (line 1) v=parenc(29910,7601);

54   Fail
v=parenc(59540,36291); assert(~isempty(v)) assert(v==658536486)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test54 (line 1) v=parenc(59540,36291);

55   Fail
v=parenc(45871,53970); assert(~isempty(v)) assert(v==1052097256)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test55 (line 1) v=parenc(45871,53970);

56   Fail
v=parenc(92763,325); assert(~isempty(v)) assert(v==52975)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test56 (line 1) v=parenc(92763,325);

57   Fail
v=parenc(9038,44798); assert(~isempty(v)) assert(v==40847241)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test57 (line 1) v=parenc(9038,44798);

58   Fail
v=parenc(1,0); assert(~isempty(v)) assert(v==0)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test58 (line 1) v=parenc(1,0);

59   Fail
v=parenc(86549,6287); assert(~isempty(v)) assert(v==19766328)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test59 (line 1) v=parenc(86549,6287);

60   Fail
v=parenc(14401,46864); assert(~isempty(v)) assert(v==103701601)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test60 (line 1) v=parenc(14401,46864);

61   Fail
v=parenc(93424,6259); assert(~isempty(v)) assert(v==19590670)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test61 (line 1) v=parenc(93424,6259);

62   Fail
v=parenc(52933,31692); assert(~isempty(v)) assert(v==502207278)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test62 (line 1) v=parenc(52933,31692);

63   Fail
v=parenc(91388,2050); assert(~isempty(v)) assert(v==2102275)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test63 (line 1) v=parenc(91388,2050);

64   Fail
v=parenc(83487,14454); assert(~isempty(v)) assert(v==104466285)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test64 (line 1) v=parenc(83487,14454);

65   Fail
v=parenc(26996,20778); assert(~isempty(v)) assert(v==215873031)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test65 (line 1) v=parenc(26996,20778);

66   Fail
v=parenc(88436,1856); assert(~isempty(v)) assert(v==1723296)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test66 (line 1) v=parenc(88436,1856);

67   Fail
v=parenc(52967,22634); assert(~isempty(v)) assert(v==256160295)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test67 (line 1) v=parenc(52967,22634);

68   Fail
v=parenc(24373,71635); assert(~isempty(v)) assert(v==297033751)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test68 (line 1) v=parenc(24373,71635);

69   Fail
v=parenc(25964,41310); assert(~isempty(v)) assert(v==337077630)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test69 (line 1) v=parenc(25964,41310);

70   Fail
v=parenc(89807,7750); assert(~isempty(v)) assert(v==30035125)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test70 (line 1) v=parenc(89807,7750);

71   Fail
v=parenc(84029,12987); assert(~isempty(v)) assert(v==84337578)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test71 (line 1) v=parenc(84029,12987);

72   Fail
v=parenc(23884,41559); assert(~isempty(v)) assert(v==285234670)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test72 (line 1) v=parenc(23884,41559);

73   Fail
v=parenc(96652,1790); assert(~isempty(v)) assert(v==1602945)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test73 (line 1) v=parenc(96652,1790);

74   Fail
v=parenc(72470,2981); assert(~isempty(v)) assert(v==4444671)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test74 (line 1) v=parenc(72470,2981);

75   Fail
v=parenc(51157,44196); assert(~isempty(v)) assert(v==976665306)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test75 (line 1) v=parenc(51157,44196);

76   Fail
v=parenc(5964,125); assert(~isempty(v)) assert(v==7875)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test76 (line 1) v=parenc(5964,125);

77   Fail
v=parenc(5011,79606); assert(~isempty(v)) assert(v==12557566)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test77 (line 1) v=parenc(5011,79606);

78   Fail
v=parenc(54850,32315); assert(~isempty(v)) assert(v==522145770)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test78 (line 1) v=parenc(54850,32315);

79   Fail
v=parenc(94427,666); assert(~isempty(v)) assert(v==222111)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test79 (line 1) v=parenc(94427,666);

80   Fail
v=parenc(61766,28774); assert(~isempty(v)) assert(v==413985925)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test80 (line 1) v=parenc(61766,28774);

81   Fail
v=parenc(90805,8083); assert(~isempty(v)) assert(v==32671486)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test81 (line 1) v=parenc(90805,8083);

82   Fail
v=parenc(50250,34260); assert(~isempty(v)) assert(v==586890930)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test82 (line 1) v=parenc(50250,34260);

83   Fail
v=parenc(59514,16501); assert(~isempty(v)) assert(v==136149751)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test83 (line 1) v=parenc(59514,16501);

84   Fail
v=parenc(21448,21340); assert(~isempty(v)) assert(v==227708470)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test84 (line 1) v=parenc(21448,21340);

85   Fail
v=parenc(48294,20183); assert(~isempty(v)) assert(v==203686836)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test85 (line 1) v=parenc(48294,20183);

86   Fail
v=parenc(0,100000); assert(~isempty(v)) assert(v==0)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test86 (line 1) v=parenc(0,100000);

87   Fail
v=parenc(0,1); assert(~isempty(v)) assert(v==0)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test87 (line 1) v=parenc(0,1);

88   Fail
v=parenc(9321,9795); assert(~isempty(v)) assert(v==43445181)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test88 (line 1) v=parenc(9321,9795);

89   Fail
v=parenc(33373,207); assert(~isempty(v)) assert(v==21528)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test89 (line 1) v=parenc(33373,207);

90   Fail
v=parenc(78080,18989); assert(~isempty(v)) assert(v==180300555)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test90 (line 1) v=parenc(78080,18989);

91   Fail
v=parenc(89341,7009); assert(~isempty(v)) assert(v==24566545)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test91 (line 1) v=parenc(89341,7009);

92   Fail
v=parenc(0,2); assert(~isempty(v)) assert(v==0)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test92 (line 1) v=parenc(0,2);

93   Fail
v=parenc(2,0); assert(~isempty(v)) assert(v==0)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test93 (line 1) v=parenc(2,0);

94   Fail
v=parenc(90124,7716); assert(~isempty(v)) assert(v==29772186)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test94 (line 1) v=parenc(90124,7716);

95   Fail
v=parenc(36611,12311); assert(~isempty(v)) assert(v==75786516)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test95 (line 1) v=parenc(36611,12311);

96   Fail
v=parenc(45498,3564); assert(~isempty(v)) assert(v==6352830)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test96 (line 1) v=parenc(45498,3564);

97   Fail
v=parenc(28355,23958); assert(~isempty(v)) assert(v==287004861)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test97 (line 1) v=parenc(28355,23958);

98   Fail
v=parenc(58516,24422); assert(~isempty(v)) assert(v==298229253)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test98 (line 1) v=parenc(58516,24422);

99   Fail
v=parenc(42157,56858); assert(~isempty(v)) assert(v==888627403)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test99 (line 1) v=parenc(42157,56858);

100   Fail
v=parenc(32854,55517); assert(~isempty(v)) assert(v==539709085)

Undefined function 'parenc' for input arguments of type 'double'. Error in Test100 (line 1) v=parenc(32854,55517);