Problem | Verdict | Lang | Time | Best | Rank | Submit Time |
---|---|---|---|---|---|---|
![]() | Accepted | Python | 0.020 | 0.000 | 2929 | 1 mins ago |
Suggest:
61^3 - 60^3 > 10000 so x_max <= 60
Problem | Verdict | Lang | Time | Best | Rank | Submit Time |
---|---|---|---|---|---|---|
![]() | Accepted | Python | 0.020 | 0.000 | 2929 | 1 mins ago |
Suggest:
61^3 - 60^3 > 10000 so x_max <= 60
Problem | Verdict | Lang | Time | Best | Rank | Submit Time |
---|---|---|---|---|---|---|
![]() | Accepted | Python | 0.180 | 0.000 | 5615 | 1 mins ago |
2/ Thinking top down problem
+ A -> 65 -> 01000001 -> |_o___.__o|
Problem | Verdict | Lang | Time | Best | Rank | Submit Time |
---|---|---|---|---|---|---|
![]() | Accepted | Python | 1.020 | 0.000 | 4464 | 5 mins ago |
Suggest:
1/ RESULT = ALL CASE - SAME CASE
2/ ALL CASE = n! (n is length string)
3/ SAME CASE = a! * b! * ... * c! (with a,b,c is number of same chars )
Problem | Verdict | Lang | Time | Best | Rank | Submit Time |
---|---|---|---|---|---|---|
![]() | Accepted | C++11 | 0.020 | 0.000 | 705 | 1 mins ago |
Susgest:
- Use pow default function couldn't AC so we need code Pow binary function
Last Submissions | ||||||
---|---|---|---|---|---|---|
Problem | Verdict | Lang | Time | Best | Rank | Submit Time |
![]() | Accepted | C++11 | 0.000 | 0.000 | 1972 | 5 mins ago |
Problem | Verdict | Lang | Time | Best | Rank | Submit Time |
---|---|---|---|---|---|---|
![]() | Accepted | Python | 0.020 | 0.000 | 5752 | 1 mins ago |
Suggest:
You only need forcus: (for output 1)
Consider the first example below of borrowing $15,000 for 30 months. As the buyer drives off the
lot, he still owes $15,000, but the car has dropped in value by 10% to $13,950. After 4 months, the
buyer has made 4 payments, each of $500, and the car has further depreciated 3% in months 1 and 2
and 0.2% in months 3 and 4. At this time, the car is worth $13,073.10528 and the borrower only owes
$13,000
AND note
month_pay = loan / months (15000 / 30 = 500)
I lost many time because think down_payment is month_payment ($500)
Problem | Verdict | Lang | Time | Best | Rank | Submit Time |
---|---|---|---|---|---|---|
![]() | Accepted | C++11 | 0.000 | 0.000 | 2733 | 14 mins ago |
Suggest: (from Udebug)
This is a pretty simple analytical problem. Find the slope and y-intercept of each line, and then solve the following system:
y = m1x + b1
y = m2x + b2
...to get...
x = (b1 - b2) / (m2 - m1)
Substitute back into the previous equations to get y.
Watch out for vertical lines, and handle them separately!
*Note: I get WA if not print '\n' in last
Code:
Problem | Verdict | Lang | Time | Best | Rank | Submit Time |
---|---|---|---|---|---|---|
![]() | Accepted | C++11 | 0.000 | 0.000 | 1942 | 2 mins ago |