Commit f63da7dc authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 6e019298
...@@ -114,7 +114,7 @@ async function format(name) { ...@@ -114,7 +114,7 @@ async function format(name) {
let newxRedArray=[] let newxRedArray=[]
for (let i=0;i<maxRedArray.length;i++) for (let i=0;i<maxRedArray.length;i++)
{ {
let counter=1 let counter=0
for (let j=0;j<maxRedArray.length;j++) for (let j=0;j<maxRedArray.length;j++)
if (maxRedArray[i] ===maxRedArray[j]) if (maxRedArray[i] ===maxRedArray[j])
counter ++ counter ++
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment