Open Juxtaposedwords opened 2 years ago
Tested:
Algorithmic Stock Trader I
univ-energy contract-110403.cct Algorithmic Stock Trader I
input: 143,198,123,80,32,94,172,176,6,21,94,23,142,72,76,124,146,29
solution: 144
Gained 833 reputation for each of the following factions: CyberSec,NiteSec,Sector-12
Algorithmic Stock Trader II
galactic-cyber contract-21866-NiteSec.cct Algorithmic Stock Trader II
input: 107,33,80,23,92,151,9,129,107,40,170,165,27,24,93,177,171,40,97,46,88,133,130,120,130,163,144,129,56,58,27,34,59,1
solution: 799
Gained 5000 faction reputation for NiteSec
Algorithmic Stock Trader III
zer0 contract-86399.cct Algorithmic Stock Trader III
input: 89,178,170
solution: 89
Gained $375.000m
Algorithmic Stock Trader IV
aevum-police contract-808754.cct Algorithmic Stock Trader IV
input: 9,38,188,60,87,199,90,193,26,37,138,186,200,195,61,93,105,76,102,41,123,116,160,164,118,30,6,183
solution: 943
Gained 6666 reputation for each of the following factions: CyberSec,NiteSec,Sector-12
Array Jumping Game
syscore contract-667153.cct Array Jumping Game
input: 4,10,7,8,0,0,1,9,0,3,6,4,0
solution: 1
Gained $187.500m
Find All Valid Math Expressions
syscore contract-507132-NiteSec.cct Find All Valid Math Expressions
input: 274343,81
solution: 2-7+43+43,-2+7*4*3-4+3,-2+74-3+4*3,-2+74+3*4-3
Gained 25000 faction reputation for NiteSec
Find All Valid Math Expressions
hong-fang-tea contract-448507.cct Find All Valid Math Expressions
input: 26723496166,-53
solution: ...
Gained 4166 reputation for each of the following factions: The Syndicate,Sector-12,CyberSec,NiteSec,The Black Hand,Slum Snakes
Find Largest Prime Factor
foodnstuff contract-720875-NiteSec.cct Find Largest Prime Factor
input: 881320888
solution: 296941
Gained 2500 faction reputation for NiteSec
Generate IP Addresses
vitalife contract-406107.cct Generate IP Addresses
input: 3290133211
solution: 32.90.133.211
Gained $225.000m
Merge Overlapping Intervals
johnson-ortho contract-180611-Aevum.cct Merge Overlapping Intervals
input: 4,7,20,24,24,28,1,3,9,10,9,16,22,32,7,13,11,12,2,11,24,28,1,3,11,16,2,12,24,28,16,25,12,20,11,14,11,15
solution: 1,32
Gained 7500 faction reputation for Aevum
Minimum Path Sum in a Triangle
phantasy contract-661903.cct Minimum Path Sum in a Triangle
input: 2,5,7,8,3,6,8,9,9,3,1,6,7,4,4
solution: 22
Gained 3125 reputation for each of the following factions: CyberSec,NiteSec,Sector-12,Slum Snakes
Sanitize Parentheses in Expression
clarkinc contract-115832.cct Sanitize Parentheses in Expression
input: ((a(()a))()()))a()(a
solution: [((a((a))()()))a()a, ((a(()a)()()))a()a, ((a(()a))(()))a()a, ((a(()a))()())a()a]
Gained $750.000m
Subarray with Maximum Sum
rothman-uni contract-826926-Sector-12.cct Subarray with Maximum Sum
input: 7,1,-7,7,10,10
solution: 28
Gained 2500 faction reputation for Sector-12
Unique Paths in a Grid I
zb-def contract-537105.cct Unique Paths in a Grid I
input: 10,14
solution: 497420
Gained 937 reputation for each of the following factions: CyberSec,NiteSec,Sector-12,Slum Snakes,The Black Hand,The Syndicate,Aevum,Tetrads
Unique Paths in a Grid II
zer0 contract-392804.cct Unique Paths in a Grid II
input: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,1,0,1,0
solution: 0
Gained $375.000m
This leaves:
Spiralize Matrix
Total ways to sum
Assigning to robert to provide some more detail
Reported Problem
Reported failures by the contract resolver. The input passed to assert contracts is supposedly correct, but the command still fails.
First thoughts
Looks like an issue with string formatting for a particular contract type
Next steps:
Determine which contracts are and are not resolving. From there I'll look into the specific functions