fork download
  1. void floyd_warshall_optimized() {
  2. bitset < n+1 > magic;
  3. for(int k=1;k<=n;k++) {
  4. for(int i=1;i<=n;i++) {
  5.  
  6. }
  7. }
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘void floyd_warshall_optimized()’:
prog.cpp:2:2: error: ‘bitset’ was not declared in this scope
  bitset < n+1 > magic;
  ^~~~~~
prog.cpp:2:11: error: ‘n’ was not declared in this scope
  bitset < n+1 > magic;
           ^
prog.cpp:2:17: error: ‘magic’ was not declared in this scope
  bitset < n+1 > magic;
                 ^~~~~
stdout
Standard output is empty