#include <stdlib.h>
#include <stdio.h>
int main(void) {
if (texto == NULL) {
printf("Houve um erro de alocação de memória"); }
int x;
if (scanf("%d", &x
) != 1) { printf("Houve um erro de leitura do dado"); }
return EXIT_SUCCESS;
}
//http://pt.stackoverflow.com/q/189633/101
I2luY2x1ZGUgPHN0ZGxpYi5oPgojaW5jbHVkZSA8c3RkaW8uaD4KCmludCBtYWluKHZvaWQpIHsKICAgIGNoYXIgKnRleHRvID0gbWFsbG9jKDEwKTsKICAgIGlmICh0ZXh0byA9PSBOVUxMKSB7CiAgICAgICAgcHJpbnRmKCJIb3V2ZSB1bSBlcnJvIGRlIGFsb2Nhw6fDo28gZGUgbWVtw7NyaWEiKTsKICAgICAgICBleGl0KEVYSVRfRkFJTFVSRSk7CiAgICB9CiAgICBpbnQgeDsKICAgIGlmIChzY2FuZigiJWQiLCAmeCkgIT0gMSkgewogICAgICAgIHByaW50ZigiSG91dmUgdW0gZXJybyBkZSBsZWl0dXJhIGRvIGRhZG8iKTsKICAgICAgICBmcmVlKHRleHRvKTsKICAgICAgICBleGl0KEVYSVRfRkFJTFVSRSk7CiAgICB9CiAgICBwcmludGYoIiVkIiwgeCk7CiAgICBmcmVlKHRleHRvKTsKICAgIHJldHVybiBFWElUX1NVQ0NFU1M7Cn0KCi8vaHR0cDovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvMTg5NjMzLzEwMQ==