Advertisement
artur99

Untitled

Mar 15th, 2016
567
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.16 KB | None | 0 0
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4. int main(){
  5. double p,k;
  6. cin>>p>>k;
  7. cout<<(long long unsigned int)(((k+ceil(k/2))-2)*10+p);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement