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
mkp042:
20200805 20:29:17
#include<cpp> in this program please!!! 

m_dodiya_072:
20200629 20:00:20
Last edit: 20200629 20:00:35 

dileep32:
20200624 20:16:40
i solved this problem in c++ 

codeborn:
20200517 05:07:57
this problem cant be solved in c++ 

iamsuyash_25:
20200513 20:34:50
I done it but in python plz let me submit it


jaysnake:
20200505 21:30:33
The whole point of this question is to make the implementation really difficult. It's not supposed to be solved in C lmfao 

darshan23:
20200504 19:23:56
plz make it available for c


sumanthcs7:
20200503 15:35:53
oh bhaai mujhe marooo 

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. 
Added by:  adrian 
Date:  20040501 
Time limit:  1s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  BF ICK WHITESPACE 