Search found 8 matches

by rickyok
Tue Oct 08, 2002 2:06 pm
Forum: Volume 5 (500-599)
Topic: 566 - Adam's Genes
Replies: 1
Views: 1874

Jangan2 ini si EKa :)
by rickyok
Tue Oct 08, 2002 2:02 pm
Forum: Volume 5 (500-599)
Topic: 556 - Amazing
Replies: 17
Views: 5240

Thank you turuthok for your replies But i have found the problem it is right here : [c]void get_data(int x , int y) { int xx, yy; char temp[100]; for (yy = 0 ; yy < y ; yy++) { gets(temp); for(xx = 0 ; xx < x ; xx++) { map[xx][yy] = temp[xx] - '0'; cnt[xx][yy] = 0; } } } [/c] Should be written like ...
by rickyok
Mon Oct 07, 2002 5:02 pm
Forum: Volume 5 (500-599)
Topic: 556 - Amazing
Replies: 17
Views: 5240

556 - Amazing

Please help, I don't know what's wrong with this code Seems ok [c] #include <stdio.h> #define MAXX 100 #define MAXY 100 int map[MAXX][MAXY]; int cnt[MAXX][MAXY]; int mx , my; int ax , ay; int cx , cy; void get_data(int x , int y) { int xx, yy; char temp[100]; for (yy = 0 ; yy < y ; yy++) { gets(temp...
by rickyok
Sun Jun 16, 2002 5:49 pm
Forum: C++
Topic: C++ Skeleton
Replies: 7
Views: 3733

I've tried that arnsfelt give. I compiled it with GCC on mandrake 8.2 But it still didn't work.... gee i wonder whyy..

And what is synonim on ANSI C with this code

gotoxy(int x , int y);
clrscr();

Thank you
by rickyok
Sat Jun 15, 2002 5:54 pm
Forum: C++
Topic: C++ Skeleton
Replies: 7
Views: 3733

C++ Skeleton

I usualy used this on BC 3.1 Windows

[cpp]
#include <iostream.h>

void main() {
int a;
cout << "Hello World!";
cin >> a;
}[/cpp]

But I try this at linux (because acm compile it at linux right?)
But it didn't work
Why?
Can some one give me the skeleton that I can used on linux
Thank you :D
by rickyok
Tue Jun 11, 2002 6:09 am
Forum: C
Topic: how to deal with huge integers ?
Replies: 7
Views: 4021

I have a problem in big integer too.
See problem 113
And i don't have java so i can't see the java.math

Can you explained a little more about int[] and 10000 base

Thank you
by rickyok
Tue Jun 11, 2002 6:05 am
Forum: Volume 1 (100-199)
Topic: 113 - Power of Cryptography
Replies: 162
Views: 16422

Well i've tried the string arithmathic but i failed
Becaused is not so simple to put a number into string and calculate a divide operation.

To Skylander:
Can you explain to me a little bit about that "Some formula and a double"

Thank you
by rickyok
Mon Jun 10, 2002 5:21 pm
Forum: Volume 1 (100-199)
Topic: 113 - Power of Cryptography
Replies: 162
Views: 16422

113 - Power of Cryptography

Hi, I'm a newby here Please help me on this case I can easly make a function for search k for input : 2 16 3 27 But it goes to error when i got input like 7 4357186184021382204544 Any ideas how i can handle very2 large integer (Without using float/ double) coz i've tried double and have no used agai...

Go to advanced search