Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
artur99
Mar 15th, 2016
641
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
#include <math.h>
using
namespace
std
;
int
main
(
)
{
double
p,k
;
cin
>>
p
>>
k
;
cout
<<
(
long
long
unsigned
int
)
(
(
(
k
+
ceil
(
k
/
2
)
)
-
2
)
*
10
+
p
)
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
+5k in one day
CSS | 1 hour ago | 0.38 KB
Untitled
C++ | 1 hour ago | 0.41 KB
+7k$ in one day
JavaScript | 1 hour ago | 0.38 KB
+5k in one day
C++ | 1 hour ago | 0.41 KB
Untitled
C++ | 1 hour ago | 0.16 KB
Moneymaking Guide
C++ | 1 hour ago | 0.39 KB
Untitled
C++ | 1 hour ago | 0.16 KB
Monetizing Method
C++ | 1 hour ago | 0.16 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!