fork download
  1. #include <iostream>
  2. using namespace std;
  3. void easy(int N)
  4. {
  5. if (N < 1) return;
  6. easy(N-2);
  7. cout<<N;
  8. easy(N-3);
  9. cout<<N;
  10. }
  11. int main()
  12. {
  13. easy(5);
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
11335225