Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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
Advertisement