#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
char link[100];
int linkSize, calcLink;
//lĂȘ o tamanho da string pra capturar os Ășltimos caracteres
printf("\nTamanho da String: %i\n", linkSize
);
calcLink = linkSize - 11;
if (calcLink < 0) calcLink = 0;
printf("%s\n", link
+calcLink
);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KI2luY2x1ZGUgPHN0cmluZy5oPgoKaW50IG1haW4oKSB7CgljaGFyIGxpbmtbMTAwXTsKCWludCBsaW5rU2l6ZSwgY2FsY0xpbms7CgoJc2NhbmYoIiVzIiwgbGluayk7CgkvL2zDqiBvIHRhbWFuaG8gZGEgc3RyaW5nIHByYSBjYXB0dXJhciBvcyDDumx0aW1vcyBjYXJhY3RlcmVzCglsaW5rU2l6ZSA9IHN0cmxlbihsaW5rKTsKCglwcmludGYoIlxuVGFtYW5obyBkYSBTdHJpbmc6ICVpXG4iLCBsaW5rU2l6ZSk7CgoJY2FsY0xpbmsgPSBsaW5rU2l6ZSAtIDExOwoJaWYgKGNhbGNMaW5rIDwgMCkgY2FsY0xpbmsgPSAwOwoKCXByaW50ZigiJXNcbiIsIGxpbmsrY2FsY0xpbmspOwoKCXJldHVybiAwOwp9Cg==