fork(2) download
  1. #include <iostream>
  2. #include <array>
  3. using namespace std;
  4.  
  5.  
  6. int main(int argc, char *argv[]) {
  7.  
  8. array<array<uint32_t, 16>, 4> permutacje =
  9. {
  10. { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 },
  11. { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 },
  12. { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 },
  13. { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 },
  14. };
  15. return 0;
  16. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'int main(int, char**)':
prog.cpp:14:2: error: too many initializers for 'std::array<std::array<unsigned int, 16u>, 4u>'
  };
  ^
stdout
Standard output is empty