fork(2) 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. int value = (a * 10) + b;
  10. cout << value << endl;
  11. }
  12. }
  13. return 0;
  14. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
11
14
16
41
44
46
61
64
66