#include <stdio.h>
#include <string.h>
int main() {
char s[] = "abc";
char v[] = "cdeabf";
printf("'%s' %scontém todos os caracteres presentes em '%s'", v
, (strspn(s
, v
) == strlen(s
)) ? "" : "não ", s
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KCmludCBtYWluKCkgewogICAgY2hhciBzW10gPSAiYWJjIjsKICAgIGNoYXIgdltdID0gImNkZWFiZiI7CiAgICBwcmludGYoIiclcycgJXNjb250w6ltIHRvZG9zIG9zIGNhcmFjdGVyZXMgcHJlc2VudGVzIGVtICclcyciLCB2LCAoc3Ryc3BuKHMsIHYpID09IHN0cmxlbihzKSkgPyAiIiA6ICJuw6NvICIsIHMpOwogICAgcmV0dXJuIDA7Cn0K