Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

为啥我的BST用了5秒,直接用cin和sort用了3秒?

Posted by temp_ptr at 2011-09-08 22:01:55 on Problem 2418
用    while(getline(cin, species_name))
    {
        wood_BST.AddKeyWord(species_name);
        tree_num++;
    }
应该怎么用scanf呢?

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator