Giter Site home page Giter Site logo

conggaro / giaithuat_kiemtra_vitri_2_hinhchunhat Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 47 KB

Giải thuật kiểm tra vị trí 2 hình chữ nhật. Kiểm tra xem "hình chữ nhật 1" và "hình chữ nhật 2" có giao nhau không

Home Page: https://conggaro.github.io/GiaiThuat_KiemTra_ViTri_2_HinhChuNhat/

JavaScript 55.57% HTML 10.98% CSS 5.77% Python 27.69%

giaithuat_kiemtra_vitri_2_hinhchunhat's Introduction

Yêu cầu:

  1. nhập x1 (tọa độ góc trên bên trái)

  2. nhập y1

  3. nhập chiều dài (hình chữ nhật 1)

  4. nhập chiều rộng (hình chữ nhật 1)

  5. nhập x2 (tọa độ góc trên bên trái)

  6. nhập y2

  7. nhập chiều dài (hình chữ nhật 2)

  8. nhập chiều rộng (hình chữ nhật 2)

  9. in ra kết quả

GIAO NHAU

nếu 2 hình chữ nhật giao nhau

KHÔNG GIAO NHAU

nếu 2 hình không giao nhau

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.