어쨌든 공부하는 블로그

  • 홈
  • 태그
  • 방명록

2025/01/12 1

[C++][백준 2108] 통계학

https://www.acmicpc.net/problem/2108 제출 코드#include #include #include #include using namespace std;bool comp(pair& a, pair& b){ if (a.second == b.second) return a.first b.second;}int main(){ ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); vector v; int n, input, sum = 0; cin >> n; for (int i = 0; i > input; sum += input; v.push_back(input); }..

Programing/백준, 프로그래머스(C++) 2025.01.12
이전
1
다음
더보기
프로필사진

  • 분류 전체보기 (232)
    • Programing (189)
      • 백준, 프로그래머스(C++) (75)
      • C++ (6)
      • Unity(C#) (57)
      • React, React Native (15)
      • HTML, CSS, JS (8)
      • Android(Kotlin) (7)
      • 데이터베이스(MySQL) (8)
      • Python (5)
      • Git (3)
      • VSCode (4)
    • 강의, 책 (43)
      • [Unity] C#과 유니티로 만드는 MMORPG 게임.. (22)
      • [DirectX, C++] 게임 매니악스 알고리즘 시리.. (8)
      • [JS] 바닐라 JS로 크롬 앱 만들기 (7)
      • [React] ReactJS로 영화 웹 서비스 만들기 (4)
      • [C++] 자료구조 (0)
      • [C++] OpenGL (2)
    • 학교 강의 복습 (2)

Calendar

«   2025/01   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바