Back to General discussions forum
Hi, first of all thanks to the creator for this wonderful page :)
I have a problem understanding the question of the mentioned problem:
In my db-ip.txt
if have the following lines
1kea7sw e41r TW
1keobuo cn3 AU
This should mean that any ip
with 1kea7sw <= ip < 1keobuo
should map to TW
, right?
1keei5f
satisfies this, however, the given example states that 1keei5f
should map to AU
.
What did I understand wrong? Thanks for any help.
I suspect that the db-ip.txt
file has been updated - my older version looks different -
but the example has not been refreshed.
Thank You, maybe Rodion could have look please?
That seems right, I submitted my solution now and it was accepted :)
So the server seems to use the same, newer db-ip.txt
file, just the example given in the problem description seems outdated.
Hi Friends!
Sorry for this incovenience - absolutely correct, the file was updated recently (it plays some minor role in detecting mischievous behavior - exactly due to I found more details in Asia/Oceania region are currently available. Regretfully I missed the fact about example - it is now updated according to your hint, thanks!