#include <iostream>
#include <ctime>
#include <stdlib.h>
int main()
{
srand (time(NULL));
int nums[4] = {0 , 2, 3 ,5};
int posicaoSorteada = rand() % 4;
std::cout<<"Elemento sorteado "<<nums[posicaoSorteada];
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3RpbWU+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCmludCBtYWluKCkKewogICAgc3JhbmQgKHRpbWUoTlVMTCkpOwoKICAgIGludCBudW1zWzRdID0gezAgLCAyLCAzICw1fTsKICAgIGludCBwb3NpY2FvU29ydGVhZGEgPSByYW5kKCkgJSA0OwogICAgc3RkOjpjb3V0PDwiRWxlbWVudG8gc29ydGVhZG8gIjw8bnVtc1twb3NpY2FvU29ydGVhZGFdOwoKICAgIHJldHVybiAwOwp9Cg==