fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int dias;
  6. cin >> dias;
  7. int segundos = dias * 24 * 60 * 60;
  8. cout << segundos << endl;
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5268KB
stdin
7
15
116
28
3
stdout
604800