fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int a, b, k;
  6. cin >> a;
  7. b = a / 60;
  8. k = a % 60;
  9. cout << b + " " + k;
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
Standard output is empty