Advertisement
Guest User

Untitled

a guest
Feb 29th, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2.  
  3. int main() {
  4. int d, o, p, t;
  5. // droga, obwod kola, zeby w przednim, zeby w tylnim
  6. scanf("%i %i %i %i", &d, &o, &p, &t);
  7.  
  8. double wynik = ((double) d / (double) o) * (double) t / (double) p;
  9. printf("%lli", (long long int) wynik);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement