#include extern int __VERIFIER_nondet_int(void); void * cmemchr(const void *s, int c, size_t n) { if (n != 0) { const unsigned char *p = s; do { if (*p++ == (unsigned char)c) return ((void *)(p - 1)); } while (--n != 0); } return (NULL); } int main() { int length = __VERIFIER_nondet_int(); int n = __VERIFIER_nondet_int(); int c = __VERIFIER_nondet_int(); if (length < 1) { length = 1; } if (n < 1) { n = 1; } char* nondetArea = (char*) alloca(n * sizeof(char)); cmemchr(nondetArea, c, n); return 0; }