Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
PI
Telaryon
Mar 6th, 2017
41
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.23 KB
| None
|
0
0
raw
download
clone
embed
print
report
int
main
(
)
{
double
sum
=
0
;
int
i
;
for
(
i
=
1
;
i
<=
1000
;
i
++
)
{
if
(
i
%
2
)
sum
+=
1.0
/
(
i
*
2
-
1
)
;
else
sum
-=
1.0
/
(
i
*
2
-
1
)
;
}
printf
(
"%.2lf"
,
sum
*
4
)
;
return
0
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 53 min ago | 0.39 KB
Untitled
XML | 1 hour ago | 2.54 KB
converte-webp-2-jpg-e-apaga-os-webp
Python | 1 hour ago | 1.40 KB
Pesquisar arquivo de determinada extensão na...
Python | 1 hour ago | 1.67 KB
Untitled
PowerShell | 1 hour ago | 6.78 KB
Untitled
YAML | 1 hour ago | 1.23 KB
Untitled
Bash | 2 hours ago | 0.02 KB
t4 AC
C++ | 2 hours ago | 0.85 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!