Add missing semicolon

This commit is contained in:
Antti H S Laaksonen 2017-11-19 23:15:52 +02:00
parent 5dd049c3a2
commit 085425e3b3
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ For example, the following code calculates $n!$,
the factorial of $n$, modulo $m$:
\begin{lstlisting}
long long x = 1;
for (int i = 2; i <= n i++) {
for (int i = 2; i <= n; i++) {
x = (x*i)%m;
}
cout << x%m << "\n";