Search found 23 matches

by Shaka_RDR
Mon May 15, 2006 5:30 am
Forum: Volume 4 (400-499)
Topic: 417 - Word Index
Replies: 15
Views: 1784

can any body help me with this code ? i've already depressed because of this 417 problem. did i make any mistakes in my code ? thanx before for your help :) #include <stdio.h> #include <string.h> #define MAX 84000 char hurup[MAX][6]; int i=0; void gen(void) { int a,b,c,d,e; for(a=0;a<26;a++) { hurup...
by Shaka_RDR
Wed May 10, 2006 7:28 am
Forum: Volume 101 (10100-10199)
Topic: 10192 - Vacation
Replies: 58
Views: 14425

I have the same problem here...
can any body give me another sample I/O ?

just feeling depressed from getting 6 WAs in a row , after 2 years idle from UVA :roll: :P
by Shaka_RDR
Thu Jun 09, 2005 10:57 am
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 35123

... ... 1) if you write in Pascal [I don't know how is it like in C/C++] and remember the number as a string , be careful if the last character of this string is a white space ... ... Good luck to you solvers :D thanx a lot for the hints kiha, i was wondering why i got a RTE SIGSEGV, now i know tha...
by Shaka_RDR
Fri Jun 03, 2005 12:46 pm
Forum: Volume 101 (10100-10199)
Topic: 10141 - Request for Proposal
Replies: 44
Views: 15845

can any body give me some sample I/O ? i got WA here... :(
i read Steven Halim's guide but i still get WA.... help :(
by Shaka_RDR
Thu Jun 02, 2005 7:38 am
Forum: Volume 107 (10700-10799)
Topic: 10771 - Barbarian tribes
Replies: 12
Views: 3852

WOW !!! i got AC now .... thanx a lot :wink:
i must take a warming up for my brain by solving easy problem first before i try to solve more difficult problem :D
by Shaka_RDR
Thu Jun 02, 2005 7:06 am
Forum: Volume 107 (10700-10799)
Topic: 10771 - Barbarian tribes
Replies: 12
Views: 3852

oh, i see why i got a TLE now... thanx a lot... being idle from uva for about 1 and a half year sure makes my brain working very very slow now :D
i'll try to fix my code now :D
by Shaka_RDR
Wed Jun 01, 2005 4:49 pm
Forum: Volume 107 (10700-10799)
Topic: 10771 - Barbarian tribes
Replies: 12
Views: 3852

i got TLE for this problem...
i use simple simulation (with modulus of course). First i stored the data into an array and then start simulating.
are the judge's test cases very big so that my program can get TLE ? any help will be appreciate :D thanx a lot before :D
by Shaka_RDR
Tue Dec 30, 2003 8:24 pm
Forum: Volume 101 (10100-10199)
Topic: 10115 - Automatic Editing
Replies: 29
Views: 9685

TLE

is it u AV ? so, you got WA ? i got TLE here... hope some one will be able to help us.... here is my code too : [c]#include <stdio.h> #include <string.h> #include <ctype.h> char rule[15][2][300]; int lenr[15][2]; int idxrule,maxrule; char kalimat[300],dummy[300]; void main() { int lenk,lend; int ik,...
by Shaka_RDR
Mon Dec 29, 2003 8:53 pm
Forum: Volume 101 (10100-10199)
Topic: 10191 - Longest Nap
Replies: 75
Views: 23492

whats wrong with this ?

hi all... i need some help here... hope nobody minds helping me.... i got 3 WAs for this problem eventhough lots of people said that this one is easy... here is my code : [c]#include <stdio.h> #include <string.h> #include <math.h> void main() { int day=0; int jadwal,idxjadwal; int h1,h2,m1,m2,i,j; l...
by Shaka_RDR
Sat Nov 15, 2003 10:12 am
Forum: Volume 4 (400-499)
Topic: 465 - Overflow
Replies: 104
Views: 24130

i've found my mistake and i've got AC... this is my input : 2147483647 * 1 2147483647 + 1 0 * 1000000000000 2147483648 * 0 2147483648 * 1 2147483648 + 0 2147483648 * 1 2000000000 + 2000000000 1000000 * 1000000 0 * 0 0 + 0 2147483647 * 2147483647 2147483647 + 2147483647 0000000000000000350 + 20 350 +...
by Shaka_RDR
Thu Nov 13, 2003 3:45 am
Forum: Volume 4 (400-499)
Topic: 465 - Overflow
Replies: 104
Views: 24130

hi... i got WA 3 times for this problem... i wonder where's my fault... here is the sample input i use to work with : 2147483647 * 1 2147483647 + 1 0 * 1000000000000 2147483648 * 0 2000000000 + 2000000000 1000000 * 1000000 0 * 0 0 + 0 2147483647 * 2147483647 2147483647 + 2147483647 00000000000000003...
by Shaka_RDR
Thu Nov 13, 2003 3:44 am
Forum: Volume 4 (400-499)
Topic: 465 - Overflow
Replies: 104
Views: 24130

hi... i got WA 3 times for this problem... i wonder where's my fault... here is the sample input i use to work with : 2147483647 * 1 2147483647 + 1 0 * 1000000000000 2147483648 * 0 2000000000 + 2000000000 1000000 * 1000000 0 * 0 0 + 0 2147483647 * 2147483647 2147483647 + 2147483647 00000000000000003...
by Shaka_RDR
Tue Nov 11, 2003 5:27 am
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 25693

hi guys.. i need your help..... this problem keep me WA for 15 times, and RTE for 5 times (i have fixed the RTE problem, now the WA problem) i've checked my I/O with posted before, and its correct... is there any tricky input ? here is my code (hope you can help me... i've asked 3 friends of mine fo...
by Shaka_RDR
Mon Nov 10, 2003 6:40 am
Forum: Volume 4 (400-499)
Topic: 443 - Humble Numbers
Replies: 82
Views: 7179

Dear Shaka_RDR i think you are wrong about i've found it!!! its all about grammar in english.... i forgot 111 and 1111 is not follow by th but by st..... its also for 112, 1112, 113 and 1113..... really embarassing ...... Here some input and output of 443 Input 1 2 3 11 12 13 21 32 43 111 112 113 O...
by Shaka_RDR
Thu Oct 30, 2003 3:36 am
Forum: Volume 6 (600-699)
Topic: 694 - The Collatz Sequence
Replies: 46
Views: 15929

sorry.... i got AC (PE) now... only 30 second after i post my previous message i found my mistake.... i use scanf("%ld") for a long long integer data type...... it should be %lld... its my second mistake about using long or long long data type.... i wonder how could i be so careless? btw, thanx for ...

Go to advanced search