Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 21st, 2018
99
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
int
main
(
)
{
int
n,m,p,i,c
;
scanf
(
"%d%d"
,
&
n,
&
m
)
;
p
=
1
;
c
=
1
;
for
(
i
=
1
;
i
<=
m
;
i
++
)
{
p
*
=
(
n
+
c
*
m
*
i
)
;
c
*
=
(
-
1
)
;
}
printf
(
"%d
\n
"
,p
)
;
return
0
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 8 min ago | 0.38 KB
Untitled
C# | 42 min ago | 4.76 KB
ImmortalHub v1.2
Lua | 50 min ago | 0.07 KB
Wayfire.ini_now
INI file | 57 min ago | 21.08 KB
Code Example
Lua | 1 hour ago | 8.95 KB
Untitled
HTML | 1 hour ago | 0.32 KB
Untitled
C# | 1 hour ago | 9.58 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!