Page 1 of 1

Weird Invalid Memory Reference?

Posted: Sun Oct 05, 2003 9:25 pm
by Larry
I didn't use any arrays, pointers, malloc, or anything that points to memory, but yet I get a Invalid Memory Reference... can this be related to unsigned long long?

I do something like:

( 1llu << num )

but that's about as complicated as it goes.. :cry:

Posted: Sun Oct 05, 2003 9:43 pm
by Maarten
are you sure it is that statement that gives your invalid memory reference ?

Posted: Sun Oct 05, 2003 9:46 pm
by Larry
No, but like I said, there's nothing at all I do different, other than unsigned long long in this usage.

What are the compiler flags that the judge use?

Posted: Sun Oct 05, 2003 9:49 pm
by Maarten
i have no idea, but you can send me your code and i can try and run it on my computer, maybe it helps

Posted: Wed Oct 08, 2003 8:32 am
by Moni
Larry wrote:No, but like I said, there's nothing at all I do different, other than unsigned long long in this usage.

What are the compiler flags that the judge use?
Hi, Larry I am also interested about it :roll:

Would you send that also to me ???

Posted: Fri Jun 03, 2005 11:24 am
by jakabjr
also interested. can u post the code?
an idea: maybe u forgot the & in scanf...