ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1269. Obscene Words Filter

Crash (access violation) №2
Posted by uu_Innk 4 May 2011 19:09
Crash (access violation) №2

Could it be because of reading ???
I use Aho-Corasick

I'm reading :

while((ch=getchar())!='\n')
{
   //
   //
}

Edited by author 04.05.2011 20:25
Re: Crash (access violation) №2
Posted by uu_Innk 8 May 2011 09:50
healed after
char -> unsigned char (and in functions)
Re: Crash (access violation) №2
Posted by dull_jester 26 Jul 2011 01:44
Hi all, I'm getting Access violation even on Test 1. I'm guessing the issue is with "char" and "unsigned char", but which place to fix?

SPOILER DELETED.

Thank you.

Edited by author 26.07.2011 21:44