javascript/index.js
//type of user_id is number, user_list is a number array 
type of user_id is number, user_list is a number array
type of user_id is number user_list is a number array
function check_master_user(user_id,user_list)
{
	for(var i = 0; i < user_list.length; i++){
		if(user_list[i] < user_id){
			return 0;
		}
	}
	return 1;
}
function check_master_user ( user_id , user_list ) { for ( var i = 0 ; i < user_list . length ; i ++ ) { if ( user_list [ i ] < user_id ) { return 0 ; } } return 1 ; }
type of user_id is number, user_list is a number array
type of user_id is number user_list is a number array
// todo //console.log("typeof(user_id) = %s",typeof(user_id)) //console.log("user_id = %d, user_list[i]=%d",user_id,user_list[i]); // no one smaller than user_id, user_id is masters