use division remainder as second criterion
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build / build (push) Successful in 1m59s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build / build (push) Successful in 1m59s
				
			This commit is contained in:
		| @@ -107,7 +107,7 @@ async fn get_move(request: Json<Request>) -> response::Json<Response> { | ||||
|  | ||||
|     let action = actions.into_iter().max_by_key(|action| { | ||||
|         let action_data = action_data[usize::from(*action)]; | ||||
|         action_data.0 / action_data.1 | ||||
|         (action_data.0 / action_data.1, action_data.0 % action_data.1) | ||||
|     }); | ||||
|  | ||||
|     if let Some(action) = action { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user