Stack size limit is adjustable in both environments, but in different ways. Moreover, the default values are quite important here.
In Linux the default is 8 MB and you can change it easily with ulimit -s for instance. The OJ can use a higher limit, but I'm not sure about that.
In VC the default is 1 MB. Windows code work in such a way that you can't change the limit after compilation, you have to set it as a linker option.
10993 - Ignoring Digits
Moderator: Board moderators
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact:
Hello..
I got the correct output for the test case above.. but still WA..
Does anybody see anything wrong..?
Thanks.. 
I got the correct output for the test case above.. but still WA..
Does anybody see anything wrong..?
Code: Select all
code removed

Last edited by helloneo on Sun Apr 15, 2007 4:09 am, edited 1 time in total.
-
- Guru
- Posts: 1080
- Joined: Thu Dec 19, 2002 7:37 pm
-
- New poster
- Posts: 3
- Joined: Fri Apr 13, 2012 9:45 am
Re: 10993 - Ignoring Digits
Can anyone tell me what's the problem with my code? Getting WA though It passes all the sample I/O given in the problem and the ones you guys gave in this post.
Just Had a simple Bfs with string,int pair Vector
Easy One!
Code: Select all
CODE REMOVED AFTER AC
