problem: 7169. Pizza
Problem code: EGYPIZZA
link: spoj.com/problems/EGYPIZZA/
in this problem, the input string, i.e., 1/4, 1/2 or 3/4 is always of length 3. initializing a string with size 3 gives a SIGSEV.
whereas i increased the string size ( >3), and then i got AC....
could you please tell me why that sigsev is arriving when the max string length is 3.