fork(3) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int arr[] = {1, 4, 6};
  7. for(int a : arr) {
  8. for(int b : arr) {
  9. cout << a << b << endl;
  10. }
  11. }
  12. return 0;
  13. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
11
14
16
41
44
46
61
64
66