fork download
  1. // a[i][m] = b[i]
  2. void Gauss( int n, int m, double **a ) {
  3. for (int i = 0; i < n; i++) {
  4. // выбрать в i-й строке ненулевой элемент j
  5. // если строка нулевая swap(row[i--], row[--n])
  6. // иначе swap(column[i], column[j]) и обнулить i-й столбец
  7. // обнулять можно ниже i (трапецевидная матрица) можно всё кроме i (диагональная матрица)
  8. }
  9. }
  10.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/usr/lib/gcc/i586-linux-gnu/5/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty