Demo entry 6799618

m5222118

   

Submitted by anonymous on May 21, 2019 at 05:20
Language: C. Code size: 256 Bytes.

      m0 = 0;
      s0 = 0;
      for(i=0; i<I; i++)
		  s0 += w[0][i]*x[p][i];
	  for(m=1; m<M; m++)
      {
        s = 0;
        for(i=0; i<I; i++)
		  s += w[m][i]*x[p][i];
        if(s < s0)
		{
          s0 = s;
		  m0 = m;
		}
      }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).