SimB4's blog

By SimB4, history, 10 months ago, translation, In English

How to insert piece of code in polygon codeforces? Current manual points to the tag lstlisting, However this tag prevents compilation of PDF, while in Edit with preview mode it is displayed correctly. I am getting an error:

"! LaTeX Error: Environment lstlisting undefined."

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it

By SimB4, history, 6 years ago, translation, In English

Let's discuss problems.

What was your solution for problems E and J?

Full text and comments »

  • Vote: I like it
  • +31
  • Vote: I do not like it

By SimB4, 10 years ago, translation, In English

I'm interested in the next question:

How can I read string of 'char' without any whitespaces and line ends into 'string' in a most effective way (fastest way).

Note: it possible to read the array of 'char', but then I wouldn't know how much symbols I read.

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it