Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- int main() {
- int d, o, p, t;
- // droga, obwod kola, zeby w przednim, zeby w tylnim
- scanf("%i %i %i %i", &d, &o, &p, &t);
- double wynik = ((double) d / (double) o) * (double) t / (double) p;
- printf("%lli", (long long int) wynik);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement