{"action":"opened","issue":{"url":"https://api.github.com/repos/Dan345/URI/issues/6","labels_url":"https://api.github.com/repos/Dan345/URI/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Dan345/URI/issues/6/comments","events_url":"https://api.github.com/repos/Dan345/URI/issues/6/events","html_url":"https://github.com/Dan345/URI/issues/6","id":118733563,"number":6,"title":"URI 1241","user":{"login":"Dan345","id":15915280,"avatar_url":"https://avatars.githubusercontent.com/u/15915280?v=3","gravatar_id":"","url":"https://api.github.com/users/Dan345","html_url":"https://github.com/Dan345","followers_url":"https://api.github.com/users/Dan345/followers","following_url":"https://api.github.com/users/Dan345/following{/other_user}","gists_url":"https://api.github.com/users/Dan345/gists{/gist_id}","starred_url":"https://api.github.com/users/Dan345/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dan345/subscriptions","organizations_url":"https://api.github.com/users/Dan345/orgs","repos_url":"https://api.github.com/users/Dan345/repos","events_url":"https://api.github.com/users/Dan345/events{/privacy}","received_events_url":"https://api.github.com/users/Dan345/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-25T00:35:02Z","updated_at":"2015-11-25T00:35:02Z","closed_at":null,"body":"#include <stdio.h>\r\n#include <string.h>\r\n \r\nint main(){\r\n \r\n    char str[10000],str1[10000];\r\n \r\n    int A,B,C,N,M,count,P;\r\n    scanf(\"%d\",&P);\r\n    while(P--)\r\n    {\r\n        scanf(\"%s\",str);\r\n        scanf(\"%s\",str1);\r\n        A = strlen(str);\r\n        B= strlen(str1);\r\n        if(B>A)\r\n           printf(\"nao encaixa\\n\");\r\n        else if(A>=B)\r\n         {\r\n             C = A-B;\r\n             M=0;\r\n             count =0;\r\n             for(N=C;N<A;N++)\r\n             {\r\n                 if(str[N]==str1[M])\r\n                    count++;\r\n                    M++;\r\n             }\r\n             if(count== B)\r\n                printf(\"encaixa\\n\");\r\n             else\r\n                printf(\"nao encaixa\\n\");\r\n         }\r\n    }\r\nreturn 0;\r\n}"}}