#include <iostream>using namespace std;void easy(int N){if (N < 1) return;easy(N-2);cout<<N;easy(N-3);cout<<N;}int main(){easy(5);return 0;}
Standard input is empty
11335225
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!