Search found 7 matches

by keceman
Sat Mar 13, 2004 1:49 pm
Forum: Volume 102 (10200-10299)
Topic: 10222 - Decode the Mad man
Replies: 30
Views: 14895

10222 - invalid memory reference?? what the...

anything wrong with my code?? i got runtime error: invalid memory reference... what's wrong?? /* @JUDGE_ID: 43238WF 10222 C++ */ #include <iostream.h> int map_row1[12] = {113,119,101,114,116,121,117,105,111,112,91,93}; int map_row2[11] = {97,115,100,102,103,104,106,107,108,59,39}; int map_row3[9] = ...
by keceman
Thu Mar 04, 2004 4:11 pm
Forum: Volume 7 (700-799)
Topic: 755 - 487--3279
Replies: 115
Views: 43648

invalid memory indirection?!?!?

hi... is there anything wrong with my source? coz i compiled and run it using turbo c++ 3.00 and it works.. but when i submit it i got runtime error 'invalid memory indirection' or something like that..... and also i've sent another source (using class & pointers) and i got same response... i wo...
by keceman
Wed Mar 03, 2004 1:54 pm
Forum: Volume 6 (600-699)
Topic: 621 - Secret Research
Replies: 45
Views: 25580

621 - Runtime Error (SIGSEGV)

Hi... I wonder why my source is said runtime error?? and the error message is invalid memory indirection or something like that.... i don't get it.. i compile and run it under Turbo C++ 3.0 and it works fine.... anyone could help me?? /* @JUDGE_ID: 43238WF 621 C++ */ #include <iostream.h> class Numb...
by keceman
Wed Mar 03, 2004 12:38 pm
Forum: Volume 100 (10000-10099)
Topic: 10071 - Back to High School Physics
Replies: 49
Views: 13257

ops... i finally finished it, i've changed the code into

while ((cin >> v >> t) != 0)
{
blablabla
}

although i still dont get what does the while statement mean.. heuheuheuhue
by keceman
Wed Mar 03, 2004 12:20 pm
Forum: Volume 100 (10000-10099)
Topic: 10071 - Back to High School Physics
Replies: 49
Views: 13257

hm... actually i'm still don't understand what does
while (scanf... == 2 ) mean.. .hehehe
by keceman
Wed Mar 03, 2004 10:05 am
Forum: Volume 100 (10000-10099)
Topic: 10071 - Back to High School Physics
Replies: 49
Views: 13257

hm... how do i use the loop? i've tried
while(1)
{
blablabla
}

and
while (!EOF)
{
blablabla
}

and still not work...... could u help me?? please... thx a lot...
by keceman
Wed Mar 03, 2004 8:25 am
Forum: Volume 100 (10000-10099)
Topic: 10071 - Back to High School Physics
Replies: 49
Views: 13257

10071 wa???1?

hi... i don't know why this give me WA...


/* @JUDGE_ID: 43238WF 10071 C++ */

#include <iostream.h>

void main()
{
long v=0, t=0;
cin >> v >> t;
cout << v*t*2 << endl;
}


thx a lot...

Go to advanced search