Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
Josif_tepe
Nov 24th, 2025
167
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.26 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
using
namespace
std
;
int
main
(
)
{
int
k,zbir,i,suma
;
cin
>>
k
;
zbir
=
1
;
i
=
0
;
suma
=
0
;
while
(
k
>=
1
)
{
suma
+
=
zbir
;
zbir
+
=
3
;
k
--
;
}
cout
<<
suma
<<
endl
;
return
0
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
EARN 5000$ INSTANTLY
CSS | 1 hour ago | 0.36 KB
VIP Moneymaking Strategy
CSS | 1 hour ago | 0.36 KB
Free Money Method
JavaScript | 1 hour ago | 0.39 KB
Free Crypto MethodGuide
PHP | 1 hour ago | 0.39 KB
FREE ETHEREUM METHOD
CSS | 1 hour ago | 0.36 KB
Guide To SUCCESSFUL Trading
CSS | 1 hour ago | 0.36 KB
Free Crypto MethodGuide
PHP | 1 hour ago | 0.39 KB
Crypto Exploit
BrainFuck | 1 hour ago | 0.39 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!