Demo entry 6352755

1

   

Submitted by anonymous on Mar 25, 2017 at 06:44
Language: Scala. Code size: 375 Bytes.

   //再把累加器QCounts1的值传给QCounts
     for(x<-0 until QCounts1.length) {//将QCounts的值传给 QCounts1
        for(y<-0 until QCounts1(x).length) {
          QCounts(x)(y) = QCounts1(x)(y).value
        }
     }
  	 for(x<-0 until QCounts1.length) {//现将累加器清空 (减去上次的值)
    		for(y<-0 until QCounts1(x).length) {
    		  QCounts1(x)(y) += QCounts1(x)(y).value*(-1)
    		}
  	 }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).