fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. float predkosc(float t) {
  5. int s = 1320;
  6. return s / t;
  7. }
  8. int main() {
  9. cout << predkosc(2.5) << endl;
  10. cout << predkosc(3) << endl;
  11. // your code goes here
  12. return 0;
  13. }
Success #stdin #stdout 0.01s 5272KB
stdin
Standard input is empty
stdout
528
440