hzyfr's blog

By hzyfr, 11 years ago, In English

I hope someone could tell me about the details, or give me a link for the tutorial. Thx

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

»
11 years ago, # |
  Vote: I like it +33 Vote: I do not like it

Like this


for (int i = 1; i <= n; ++i) sum += i * i;

To insert a code fragment you must put line, consisting of five twiddles: ~~~~~, before and after the code.

`~~~~~

for (int i = 1; i <= n; ++i) sum += i * i;

~~~~~ `

To use latex formulas, you must enclose in with dollar sign $\sum\limits_{i=1}^{n}{i^{2}}$

»
5 years ago, # |
Rev. 4   Vote: I like it 0 Vote: I do not like it

`~~~~~

for (int i = 1; i <= n; ++i) sum += i * i;

~~~~~ `

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

$$$\prod\limits_{i=1}^{n}{i^{2}}={(n!)}^{2}$$$

$$$\sum\limits_{i=1}^{n}{i^{2}}={2*{n^{2}}}$$$

$$$a_{n}-a_{n-1}$$$

i tryied above can be done by inclosing following inside "$" sign

  • \prod\limits_{i=1}^{n}{i^{2}}={(n!)}^{2}

  • \sum\limits_{i=1}^{n}{i^{2}}={2*{n^{2}}}

  • a_{n}-a_{n-1}