/*
CODECHEF
PROBLEM CODE : PALIN
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
char K[1000002];
int flag;
int main()
{
int t,i;
scanf("%d\n",&t);
for(i=0; i<t; i++)
{
gets(K);
int len,i,tmp,t,tmp1;
len = strlen(K);
flag = 1;
for(i=0;...
15 Mar 2013
/*
CODECHEF
PROBLEM CODE : RDF
*/
#include <stdio.h>
inline int getn()
{
int n=0, c=getchar_unlocked();
while(c < '0' || c > '9')
c = getchar_unlocked();
while(c >= '0' && c <= '9')
n = (n<<3) + (n<<1) + c -...
Subscribe to:
Posts (Atom)