Seems to work for me. What case doesn't it work for?
// @JUDGE_ID: ******* 706 C++
#include <iostream.h>
#include <string.h>
int main()
{
int size, numlen;
char number[256];
char numerals[10][5][3 ...
Search found 4 matches
- Mon Mar 17, 2003 5:36 pm
- Forum: Volume 7 (700-799)
- Topic: 706 - LCD Display
- Replies: 221
- Views: 65109
- Tue Mar 11, 2003 2:41 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108633
?? I'm stuck
Check it for what. As I said, "It works for me." Everything I try works, I'm not sure how to look for a problem that doesn't show up for me.Hisoka wrote:if you got SIGSEGV first you must check your array.
P.S. Thanks for the advice, Little Joey.
- Mon Mar 10, 2003 11:14 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108633
Works for me but not for judge
This works for me using MSVC++ v6.0, but the online judge says:
"Your program has died with signal 11 (SIGSEGV). Meaning: Invalid memory reference"
Any ideas?
///code starts here///
// @JUDGE_ID: ******* 101 C++
#include <iostream.h>
struct Location
{
int s[2]; /*source position*/
int d[2 ...
"Your program has died with signal 11 (SIGSEGV). Meaning: Invalid memory reference"
Any ideas?
///code starts here///
// @JUDGE_ID: ******* 101 C++
#include <iostream.h>
struct Location
{
int s[2]; /*source position*/
int d[2 ...
- Mon Mar 10, 2003 11:13 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108633
oops
previous post deleted - wrong place