i was solving the problem streetr and got runtime error (SSIGEV) i could not understand the reason for the error.i checked all the array bounds and found no problem in it
can someone please tell the reason of the run time error
while(scanf("%d",&n)!=EOF)
There's only one input case in each test file, with possible garbage text after. Whatever happens to be in the second garbage test case that this line reads will fail.
Are you sure you submitted it to the right problem? I submitted your code and got wrong answer. Checking the submission list, there aren't any SIGSEGV in the last 12 hours.
spoj.pl/status/STREETR/
thanks
i got acfor the below code i think both are same
Do you have a question? If not, please remove your code.
Cheers!