Site Title

Skip to content
  • Entertainment
    • Music
    • Cười
    • Sport
    • Cinema
  • Education
    • Русский Язык
      • Грамматика
        • Существительное
    • Infomation Technolgy
      • C++
        • Cơ Bản Về C++
        • Basic Concepts
        • Conditionals and Loops
        • Data Types, Arrays, Pointers
      • Spoj
  • Lifeinru
    • Ký Sự
  • Contact
  • About
    • Quản Trị Viên
    • First blog post
Search

Spoj

ACMB

04/01/201704/01/2017 / panda68 / Leave a comment

 

http://vn.spoj.com/problems/ACMNB/

Thuật Toán:  Gọi TimesTi là thời gian Tín làm hết 2*n bài ;

Bây giờ muốn tìm kết quả bài toán hãy nhìn xem , result = TimesTi – Ti[?](n bài) +

Tèo[?](n bài) => (((Teo[?] – Ti[?] min))) =>> sắp xếp lấy n phần tử đầu tiên của giá trị chênh lệch ấy (khó hiểu vãi c đi đc) thôi nhìn mẹn code xem thử hiểu k :)) Continue reading →

Nhạc

Archive

  • February 2017
  • January 2017
  • December 2016
  • November 2016
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Site Title
    • Already have a WordPress.com account? Log in now.
    • Site Title
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
Design a site like this with WordPress.com
Get started