#include <stdio.h>
void fn(void)
{
/* write something after this comment so that the program output is 10 */
int a[1] = {0};
int j = 0;
while(a[j] != 5) ++j;
a[j] = 10;
fprintf(stderr
, "Found at offset @ %d\n", j
); /* write something before this comment */
}
int main()
{
int i = 5;
fn();
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIGZuKHZvaWQpCnsKICAvKiB3cml0ZSBzb21ldGhpbmcgYWZ0ZXIgdGhpcyBjb21tZW50IHNvIHRoYXQgdGhlIHByb2dyYW0gb3V0cHV0IGlzIDEwICovCiAgaW50IGFbMV0gPSB7MH07CiAgaW50IGogPSAwOwogIHdoaWxlKGFbal0gIT0gNSkgKytqOwogIGFbal0gPSAxMDsKICBmcHJpbnRmKHN0ZGVyciwgIkZvdW5kIGF0IG9mZnNldCBAICVkXG4iLCBqKTsKICAvKiB3cml0ZSBzb21ldGhpbmcgYmVmb3JlIHRoaXMgY29tbWVudCAqLwp9CgppbnQgbWFpbigpCnsKICBpbnQgaSA9IDU7CiAgZm4oKTsKICBwcmludGYoIiVkXG4iLCBpKTsKICByZXR1cm4gMDsKfQo=