SBSTR1  Substring Check (Bug Funny)
Given two binary strings, A (of length 10) and B (of length 5), output 1 if B is a substring of A and 0 otherwise.
Please note, that the solution may only be submitted in the following languages: Brainf**k, Whitespace and Intercal.
Input
24 lines consisting of pairs of binary strings A and B separated by a single space.
Output
The logical value of: 'B is a substring of A'.
Example
First two lines of input:
1010110010 10110
1110111011 10011
First two lines of output:
1
0
hide comments
matlabprozhe:
20200328 16:34:19
My problem is solved I really thank you


zaki9246:
20200328 16:16:56
if Node.js available I can give a solution of only one line. 

sadinenibalu:
20200321 07:22:15
Why c is not available to do this? 

Jorge Rocha Gualtieri:
20200317 17:38:46
finally got it accepted Last edit: 20200317 21:01:19 

k3rnel:
20200307 18:02:34
why can't i solve this in c. 

smallpillow:
20200306 06:48:08
i am depressed...


shaigloria:
20200304 08:25:11
is the length of stringA and stringB static? 

teluguboy:
20200122 04:52:24
python:


subbu988:
20200118 18:07:32
. Last edit: 20200118 18:08:17 

ankit_thakur98:
20200115 16:40:34
Question is pretty easy. Though more language options should be given. I wanted to solve this here but ended up solving it on eclipse instead. 
Added by:  adrian 
Date:  20040501 
Time limit:  1s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  BF ICK WHITESPACE 