This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 2133.cpp | |
// AlgorithmTest | |
// | |
// Created by 김무열 on 2017. 4. 14.. | |
// Copyright © 2017년 김무열. All rights reserved. | |
// | |
#include <iostream> | |
#include <vector> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 1912.cpp | |
// AlgorithmTest | |
// | |
// Created by 김무열 on 2017. 4. 14.. | |
// Copyright © 2017년 김무열. All rights reserved. | |
// | |
#include <iostream> | |
#include <algorithm> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 11053.cpp | |
// AlgorithmTest | |
// | |
// Created by 김무열 on 2017. 4. 14.. | |
// Copyright © 2017년 김무열. All rights reserved. | |
// | |
#include <iostream> | |
#include <algorithm> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
#include <cstdio> | |
using namespace std; | |
int main(void) { | |
int n, ans, sum = 0; | |
cin >> n; |