ulvis.paste.net - pastebin

Paste Search Dynamic
Recent pastes
k
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.         long long k , a1 , a2 , t1 , t2 ,v0;
  6.         cin >> v0 >> a1 >> t1 >> a2 >> t2 ;
  7.         k = v0 + (a1*t1) + (a2*t2) ;
  8.         cout << k ;
  9.         return 0;
  10. }
Parsed in 0.002 seconds