Search found 3 matches

by sohel_cuet_cse
Fri Dec 16, 2005 10:12 pm
Forum: Volume 105 (10500-10599)
Topic: 10515 - Powers Et Al.
Replies: 124
Views: 45404

Hi bayzid i think osan have given a solution 2 ur problem solving technique. About input taking i will sugest u 2 take input as string.
Then by using strlen(),determine the length.then work with last 2 digits. Dont worry it will not cause u TLE or WA.Good Luck :) .
by sohel_cuet_cse
Thu Dec 15, 2005 7:48 pm
Forum: Volume 4 (400-499)
Topic: 482 - Permutation Arrays
Replies: 159
Views: 53568

Hi Jan thanx a lot.I got ac. There was a silly mistake in taking input.Again thanx a lot.:D
by sohel_cuet_cse
Sun Dec 11, 2005 8:06 pm
Forum: Volume 4 (400-499)
Topic: 482 - Permutation Arrays
Replies: 159
Views: 53568

482 WA why????????????

Can anyone tell me where is my fault???????
I have used string to take input and for output.
here is my code:
#include<stdio.h>
#include<string.h>
#define M 100000
#define MAX 1000000

typedef long int dt;

struct per
{
dt index;
char num[110];
}ar[M];

void main()
{
dt i,j,end,k,l,start,t,test ...

Go to advanced search