Search found 13 matches
- Tue Jan 14, 2003 10:40 am
- Forum: Volume 5 (500-599)
- Topic: 594 - One Little, Two Little, Three Little Endians
- Replies: 46
- Views: 21348
594 endians....ask for test cases plzzzz....
hello...i need some test cases for ole little, two little, three little endians coz i keep getting WA....can anybody help me?? /* @begin_of_source_code */ #include<stdio.h> #include<math.h> int main(){ signed long int angka,angka1,angka2; int bit[32],endian[32],j,kali,i; #ifndef ONLINE_JUDGE freopen...
- Sat Jan 11, 2003 8:07 am
- Forum: Volume 3 (300-399)
- Topic: 371 - Ackermann Functions
- Replies: 196
- Views: 47507
- Sat Jan 11, 2003 7:36 am
- Forum: Volume 5 (500-599)
- Topic: 591 - Box of Bricks
- Replies: 80
- Views: 21634
- Fri Jan 10, 2003 7:37 am
- Forum: Volume 5 (500-599)
- Topic: 591 - Box of Bricks
- Replies: 80
- Views: 21634
ups :oops: ..i'm sorry the program i attach is for 371 ..ackermann functions.. but still i got wrong answer...... the right one is: /* @begin_of_source_code */ #include<stdio.h> #include<math.h> #include<stdlib.h> int main(){ long int i,total,rata,min,set,n; long int height[10000]; #ifndef ONLINE_JU...
- Fri Jan 10, 2003 7:26 am
- Forum: Volume 5 (500-599)
- Topic: 591 - Box of Bricks
- Replies: 80
- Views: 21634
- Wed Jan 08, 2003 7:39 am
- Forum: Volume 3 (300-399)
- Topic: 371 - Ackermann Functions
- Replies: 196
- Views: 47507
emm..i see your point.. then i try to change my program as follow.... but i got runtime error : invalid memory reference... is it because of the size of array isn't enough or something else?? #include<stdio.h> int main(){ long int l,u,i,x,max,y,angka; int sequence[100000]; for(i=0;i<100000;++i){sequ...
- Sat Jan 04, 2003 4:51 pm
- Forum: Volume 5 (500-599)
- Topic: 591 - Box of Bricks
- Replies: 80
- Views: 21634
- Fri Jan 03, 2003 10:37 am
- Forum: Volume 5 (500-599)
- Topic: 591 - Box of Bricks
- Replies: 80
- Views: 21634
591 box of bricks....floating point exception??....
:-? err....my program got runtime error : floating point exception could the problem be that my program can't read specified input that larger than 9 ...example : 5 11 10 5 6 4 ??? i also got an advice that fflush is forbidden...but if i eliminate fflush...then the program can't read the second inpu...
- Fri Jan 03, 2003 10:09 am
- Forum: Volume 100 (10000-10099)
- Topic: 10008 - What's Cryptanalysis?
- Replies: 55
- Views: 24755
- Thu Jan 02, 2003 2:42 pm
- Forum: Volume 3 (300-399)
- Topic: 371 - Ackermann Functions
- Replies: 196
- Views: 47507
- Wed Jan 01, 2003 1:51 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10008 - What's Cryptanalysis?
- Replies: 55
- Views: 24755
10008 cryptanalysis...need more input 'n output sample
:( confused.....need more samples of input and output.... i got it right on my computer but received "wrong answer" from online judge??...........what's cryptal?? what's wrong?? #include<stdio.h> #include<ctype.h> char line[100]; int f[26],j; int main(){ unsigned int max,baris,i; char huru...
- Wed Jan 01, 2003 1:42 pm
- Forum: Volume 3 (300-399)
- Topic: 371 - Ackermann Functions
- Replies: 196
- Views: 47507
371 c time limit exceeded..need a little more adjustment
:( err.....need help...i think that i have made all possible adjustment .. but i still get the over limit (10.47 seconds..)....confused where's wrong..?? can anybody give me a hint?? #include<stdio.h> int main(){ long int l,u,i,x,max,y,z; int sequence[1000]; while(scanf("%li %li",&l,&a...
- Wed Jan 01, 2003 1:32 pm
- Forum: Volume 5 (500-599)
- Topic: 594 - One Little, Two Little, Three Little Endians
- Replies: 46
- Views: 21348
594 : little endians...need more sample input 'n output
:-? i'm confused?!...can someone give me more input and output samples for one little, two little, three little endians (594)?...... i keep getting "wrong answer" from online judge...but i got the right answer when i test it on my computer........... #include<stdio.h> #include<math.h> int ...