Блог пользователя dantrag

Автор dantrag, 4 года назад, По-английски

UPD: The problem is fixed now.

Today I tried to write a comment with formulas, something like this:

What I got in the comment preview (and if I actually post this in the comment or a blog):

The same happens if I copy my old comments with a couple of mid-length formulas in the same sentence: they don't look the same, line splitting occurs. In fact, here is the code that is generated: If $$$a$$$ and $$$a + x$$$, then. If you remove spaces in "a + x", line breaks disappear. Also, for example, abcd generates line breaks, and abc does not etc.

Does anyone have this problem or did I accidentaly change some setting for my account and broke everything?

  • Проголосовать: нравится
  • +77
  • Проголосовать: не нравится

»
4 года назад, # |
  Проголосовать: нравится +16 Проголосовать: не нравится

Let $$$f(x)$$$ to be number of positive integers which is smaller than $$$x$$$, calculate $$$f(x)$$$. ($$$1 \le x \le 10^{18}$$$)

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Yep, it renders as <p>Let $$$f(x)$$$ to be number of positive integers which is smaller than $$$x$$$, calculate $$$f(x)$$$. (</p>$$$1 \le x \le 10^{18}$$$.

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

The $$$A + B$$$ problem is seen on every online judge.

You are tasked to calculate $$$a + b$$$ where $$$ 1 \le a, b \le 10^{10000}$$$, since the constraint is large, do not use standard data types.

Why is the second $$$a + b$$$ rendering correctly?

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +11 Проголосовать: не нравится

    I actually hoped MikeMirzayanov could shed some light on this problem. The change in the behavior happened Yesterday so there was probably some intended change in TeX support recently that he might be aware of.

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Is it OK now?

»
4 года назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

I had a similar problem too, and I posted it in this blog: https://codeforces.com/blog/entry/74130 , but I didn't know how to give it more visibility.

It seems that my examples there are also fixed.