BFTAB - BF Vector
Your task is to put in the output nth character of the read input. You have to use BF.
Input
- First line have x chars (1 <= x <= 99) and ends with a line feed (10)
- Second line is one number n (00 <= n <= 99)
Output
It's only one character.
Example
Input: 01234567 02 Output: 2
Input: 0112ok3-12kewpl11,2eo12o3ke12ls12w1io2j34e12md 14 Output: l
hide comments
tiger2005:
2018-08-26 02:09:30
AC in Brainf**k... 256 characters... |
|
Vamsi Krishna Avula:
2014-12-10 17:22:23
AC in one go :D, had a tough time debugging though!
|
|
Marek Kotewicz:
2013-01-13 22:10:27
@Asheesh
|
|
Jander:
2013-01-12 15:01:59
@Mitch - it might be an good one for golfing. I'm down to 66 so far. |
|
Aditya Pande:
2013-01-02 05:13:20
accepted in 1st attempt....
|
|
Mitch Schwartz:
2012-12-22 14:31:29
I don't know if anyone else tried to golf this, but my best is 65 bytes for anyone interested. |
|
Asheesh Ranjan:
2012-10-13 16:01:51
What is in the 6th input file ?! It keeps giving me TLE
|
|
Saurabh Jain:
2012-07-23 12:48:52
nice question.!! enjoyed solving it and getting AC at one go. :) |
|
(Tjandra Satria Gunawan)(曾毅昆):
2012-07-20 18:43:50
Yeah! got AC on first try ;) |
|
Marek Kotewicz:
2012-03-15 12:40:33
it wont be |
Added by: | Marek Kotewicz |
Date: | 2012-02-27 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | BF |