Given a 5 character strings, each on a separate line, find the values of the variables A,B and C such that the addition of lines one and two equals three. You may find any correct solution to this expression.
Note: Each string contains at least one of the three variables
First line of input contains the number of test cases. This is followed by the input. Input will be three lines of 5 characters.
Output should be the strings, one per line, with the variables replaced by their appropriate values.
Input: 1 C793A B83B5 4ABAC Output: 17936 28325 46261
|Time Limit:||50 sec|
|Source Limit:||50000 Bytes|
|Languages:||C, JAVA, PYTH, CS2, PAS fpc, PAS gpc, RUBY, PHP, HASK, SCALA, D, PERL, FORT, WSPC, ADA, CAML, ICK, BF, ASM, CLPS, PRLG, ICON, SCM qobi, PIKE, ST, NICE, LUA, BASH, NEM, LISP sbcl, LISP clisp, SCM guile, JS, ERL, SQL, TEXT|
Fetching successful submissions