Profile
No self-introduction
Project about java
no vote
public int h1(int[] list)
// h1 = the number of misplaced tiles
{
int gn = 0;
for(int i = 0; i < list.length; i++)
{
if(list[i] != i && list[i] != 0)
gn++;
yilmazsalihcan 2016-08-23 No more~
Follows 0
Fans 0
- Email: support@codeforge.com
© 2011-2024CodeForge Dev Team All rights reserved