|Submit||All submissions||Best solutions||Back to list|
BFBIGTHN - "If Bigger than" in BF
Brainf*** is a Turing complete language...
what ever the arithmatic/logic operation other langs like C or LISP can do ...BF can do it also !
your task is to write a BF code to test if a is Bigger Than b ..
tow_digit_number t (number of test cases)followed by end_of_line charachter
then t lines each of them contains:
followed by space
then tow_digit_number b
followed by ASCII(10) (End of line).
(at the end of the file there is EOF charachter which value is (-1))
the logic value of (a > b) for each test case
(don't forget to print any space after each output such like '\n' or '\t' or space' ')
BE CAREFUL: ONLY BRAINF*** AVAILABLE FOR SUBMIT .
Note : maybe it will be helpful for you to know that a never equal to b in the test cases ;)
|Added by:||Mostafa 36a2|
|Cluster:||Cube (Intel G860)|
|Resource:||BF it self ^_^|