2020

    Basemap learning

    Since I have already introduced Basemap and how to install , I’ll start it directly.

    CodeForeces-1301 A Three Strings

    Only two conditions exist that make it impossible

    Draw map with Color

    Last article, we learned how to draw a uncolored map with python. Now, we are going to fill our country with beautiful colors.

    CSS Rules

    Some of the basic rules of CSS and also a learning and reviewing Records of CSS.

    HTML Tags

    Some of the most often used tags of HTML. And it’s also a record of learning process.

    CodeForces-1300 B Assigning to Classes

    The middle two numbers' absolute difference is the answer. Because you can give the first to array1 and second to array2 and third to array1...

    CodeForces-1300 A Non-zero

    Calculate the number of zeros and sum. If there is all zeros, the answer is n + 1;

    Draw maps

    Before you start to draw maps with python, you first need to install basemap and pyshp.

    Install Basemap of Python(Linux)

    Basemap is a plug-in of matplotlib. Matplotlib is a drawing library that helps to draw data in multiple ways using python. And Basemap is used to draw maps. The followings are steps to install basemap.

    CodeForces-1296 C Yet Another Walking Robot

    Stimulate the walking process. Using map, int> to store the points. (The second parameter of map stands for the times of the move, that is the position in the string where it meets a certain points)


TOP
COMMENT
made with ❤️ by o_oyao
©o_oyao 2019-2025

|