HDU-2023 Average score
No tricks but you need to be very careful or you will not be able to make it.
No tricks but you need to be very careful or you will not be able to make it.
Using C++ 11 features. reverse. Another way is is find the middle of the string and travers from both side. Compare one by one.
As you can see from the picture, for each unit, there is...
Just stimulate the rule of clock time addition.
This problem has a regular pattern. Let me show you.
a and b each mod 100 and the answer a + b mod 100
This problem seems like a very huge problem, however, the answers have some certain regular pattern.
The following analysis is from boss Tan when he taught me how to solve this problem. After passing the problem, I sum up his ideas and turned it into words.
Just loop and calculate violently.
This is just stimulation. At first I think the answer was m + m / k . However, I didn't think of that there may be given more than k days more.