75% wrong answer

Guillermo Sanchez asked 2 years ago

What can be wrong?

Question solved. Code removed.

This topic was solved and cannot recieve new replies.

  • feodorv replied 2 years ago

    Why mixture of C and C++ IO functions? Moreover after first scanf the symbol '\n' is left in the standard input stream. No spaces are found into input strings. So you can freely use

    char s[100000+16];
    scanf( "%s", s);