I had Blogger existencial questions... :P
I'm not was sure if post here my algorithms and experiences in programming contest or not, because could be many code and algorithms and I think that those don't look good in a blog.
So I decided to create a new blog!..
This is my new blog about Algorithms, Competitive Programming and Programming Competitions:
http://jhtan.tumblr.com/
Welcome to "Codiguito" !..
For the time being, as long as I love the algorithms problems I will write in these blog :)
Greetings!..
domingo, 7 de julio de 2013
domingo, 23 de junio de 2013
Codeforces Round #189
That was a bad Code Forces Round, I only solved the easy problem, the A.
Here is my solution.
Bye ...
Here is my solution.
int main() {
int n;
scanf("%d", &n);
while(true) {
bool sw = true;
if(n%1000 == 144) {
n /= 1000;
sw = false;
}
if(n%100 == 14) {
n /= 100;
sw = false;
}
if(n%10 == 1) {
n /= 10;
sw = false;
}
if(sw)
break;
}
if(n == 0)
printf("YES\n");
else
printf("NO\n");
return 0;
}
Fine, to day will be a long day, cause less one hour is the June Cook-Off and later the 2th Online Programming Contest of Bolivia.Bye ...
domingo, 21 de abril de 2013
Hola Mundo!..
Bienvenidos a mi nuevo blog!..
Este es uno más de mis muchos intentos de tener un blog :P, espero que sea el definitivo.
Acá algunos links de mis intentos fallidos para que se diviertan:
- http://pobajhtan.blogspot.com
- http://todoyonada.blogspot.com
- http://jhtan.wordpress.com
Saludos!..
Suscribirse a:
Comentarios (Atom)