We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Beautiful Days at the Movies
Beautiful Days at the Movies
Sort by
recency
|
1776 Discussions
|
Please Login in order to post a comment
`
func reverse(number int32) int32 { if number < 10 { return number }
} `
Step 1: Solve it like a noob Step 2: Be the 'Ok guy'
//check the code int reverse_num(int num){ int temp = 0; int neg = num < 0; if (neg) num = -num; while(num){ temp = (temp*10) + (num%10); num /= 10;
} return neg ? -temp:temp; }
int beautifulDays(int i, int j, int k) { int beautiful_count = 0;
}