Search found 6 matches

by Jatno
Sun Mar 25, 2007 10:35 am
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 60490

there should be two blank line after each case output :(


printf("%ld %ld:",num,c);
for(i=start;i<=end;i++)
printf(" %d",prime);
printf("\n\n");


may be it works for u
by Jatno
Sun Mar 25, 2007 10:28 am
Forum: Volume 1 (100-199)
Topic: 186 - Trip Routing
Replies: 15
Views: 6946

Presentation error in 186

Can anyone please tell me why i get Presentation error????????????? :roll: :oops:


Output section of my code:

printf("\n\nFrom To Route Miles\n");
printf("-------------------- -------------------- ---------- -----\n");
for(i=0;i<Track-1;i++) {
................
................
printf("%-20s ...
by Jatno
Thu Mar 22, 2007 11:11 am
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 60490

hi!

AC Output format is:

n*c:*a*b*c*d#
#
n*c:*a*b*c*d#
#
n*c:*a*b*c*d#
#

But ur one may be:

n*c:*a*b*c*d*#
#
n*c:*a*b*c*d*#
#
n*c:*a*b*c*d*#
#
by Jatno
Tue Aug 22, 2006 6:05 am
Forum: Volume 103 (10300-10399)
Topic: 10352 - Count the eWords
Replies: 30
Views: 14770

Thanx daveon.

At last i get accepted :lol:

i had the symbol problem :oops:
by Jatno
Mon Aug 21, 2006 1:52 pm
Forum: Volume 103 (10300-10399)
Topic: 10352 - Count the eWords
Replies: 30
Views: 14770

10352

Input:

a1e2 s@#$%^&*()-+ #
aaa aaac aadc aab aac a aa aa aax aaa aaP #
a<>?,./!@#$%^&*()_+=-0987654321`~'"?></., #
aaaaapqrs aaaaauv aacaauv aaqaapqrs #

Can anyone please send me the correct output for that sample input?

Is there any symbol can appear in sample input :evil:

is the total ...
by Jatno
Tue Aug 08, 2006 1:35 pm
Forum: Volume 103 (10300-10399)
Topic: 10352 - Count the eWords
Replies: 30
Views: 14770

Why Wrong Ans don't know, any critical input????????

#include <stdio.h>
#include <string.h>
#include <stdlib.h>


#define MAX 4202

typedef struct {
char w[10];
int n;
} node;

node array[MAX];

int tot;
int low;
int high;
int val;
int mid;
int testcase;

char temp1[10],temp2[10], temp[5000];

int cmp(char *s1, char *s2) {
strcpy(temp1,s1);
strcpy ...

Go to advanced search