Installation and use of Visual Studio 2013 and unit tests for maximum sub-arrays and

Source: Internet
Author: User

Installation of Visual Studio 2013:

1. Download the vs2013 installation image from the Microsoft Official website or from the Internet.

2, after the download is completed, is an ISO file, if it is win8 (8.1) or the installation of a virtual CD-ROM computer, double-click on the computer will add a disc letter, open to discover the following files.

3, running Vs_ultimate.exe.

You can choose your own installation path and install it on your computer. Select I agree to the license Terms and privacy policy, and you can choose where you want to install the program. To
The option to join the Visual Studio Experience Improvement Program can be checked or canceled. If checked, some of your personal information may be sent to Microsoft server.

4. Select Next.
Note: If you select a different partition, there is at least 5.14G space on the C drive to continue the installation

Here you have the option to install the tool, if it is the base user. Please keep the default.
Click Install.

5, after installation is a large period of time to wait, according to the computer configuration different waiting time is different. The maximum installation time may take up to one hours.

6, the installation is successful.

7. After the installation is complete, click Start

8, first run, you can log in (using Microsoft account, Outlook mailbox, Hotmail mailbox, live mailbox ...) You can also choose to talk about it later. You can synchronize the VS settings (using layouts, default options, and so on) if you have previously used this version of VS and synced settings can be restored in this way.

Unit tests for maximum subarray and

Use Case number Use case description Input data Expected output data Actual output data Pass/No Pass Results evaluation
1 are all positive 1, 2, 3, 4, 5 15 15 Pass The results are correct
2 are all negative -1,-2,-5,-6,-7 -21 -21 Pass The results are correct
3 Both positive and negative -5,-3, 8,-15, 1 5 5 Pass The results are correct
4 Both positive and negative 1,2,-8,4,6 10 10 Pass The results are correct
5 Both positive and negative 3,-2, 5,-8, 6 3 3 Pass The results are correct
6 All is zero 0, 0, 0, 0, 0 0 0 Pass The results are correct

-6,-7,3,4,5

Installation and use of Visual Studio 2013 and unit tests for maximum sub-arrays and

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.