Search found 9 matches

by Hunter
Sun Mar 16, 2003 7:12 am
Forum: Volume 4 (400-499)
Topic: 482 - Permutation Arrays
Replies: 159
Views: 32975

Answer meeee....

It's been a long time...
Why there's still no answer?
I grew the array to a million but nothing happened but another 0.023 SIGSEGV RE!!
Why??!
by Hunter
Mon Mar 03, 2003 4:01 pm
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 27739

I don't like this!!! This prob. keeps me WA for weeks...!! I've handled the "abc123def" input to result "abc123defay". Is it correct?! Few I/O cases follow up: a1 a.a.a. a.a... a1. .a1? 1a...a p..p What they should result? Do the "consecutive sequence of letters (upper and/or lower case)" takes alph...
by Hunter
Thu Feb 27, 2003 5:31 pm
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 27739

I don't understand..! Shouldn't it result:

Code: Select all

abcay123efday
by Hunter
Sun Feb 23, 2003 6:31 pm
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 27739

It's my best, baby! Yet not AC... This time a <0.353 sec> WA. More trick(s) missed? [cpp]#include <stdio.h> #include <string.h> char str[1000000],word[1000000]; long len,i,j,k; void main () { while (gets(str)) { len=strlen(str); j=-1; for (i=0;i<=len;i++) { if ((str >=65 && str <=90) || (str >=97 &&...
by Hunter
Sat Feb 22, 2003 9:07 am
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 27739

Yet Not AC

Hmmm... I've matched those all, but got TLE.
Seems my algo's quite silly, eh? Nevermind, I'll fix it later..
Thx anyway...
by Hunter
Mon Feb 17, 2003 10:49 am
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 27739

Hellooo...?!!

Helloooo...??!
I'm sure it's an easy one 4 u, guys...!! :D
by Hunter
Mon Feb 17, 2003 10:45 am
Forum: Volume 4 (400-499)
Topic: 482 - Permutation Arrays
Replies: 159
Views: 32975

Please reply...

Heey... isn't there any solved this problem yet?
Please gimme answers... Really need it!!!

Thank you.
by Hunter
Fri Feb 14, 2003 12:41 pm
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 27739

492 RTE

I/O seems well. Grown the array and still "Invalid Memory Reference". What's wrong with this, guys..?? [cpp]#include <stdio.h> #include <string.h> char str[100000],word[100000],temp,temp2; int i,j,len,max; void main () { while (gets(str)) { len=strlen(str); j=0; for (i=0;i<len;i++) { if (str ==' ') ...
by Hunter
Wed Feb 12, 2003 10:58 am
Forum: Volume 4 (400-499)
Topic: 482 - Permutation Arrays
Replies: 159
Views: 32975

482 Permutation Arrays - WA, RE <SIGSEGV>

Guys, please check my 482 code downhere: [cpp]#include <stdio.h> #include <math.h> #include <string.h> char str[10000],n[1000][10000],chr; int len,count,ten,temp,i,j,k,sum[10000],m,cas; void main () { scanf ("%d",&m); cas=0; scanf ("%c",&chr); //to handle an <Enter> after inputting the m while (cas<...

Go to advanced search