Recent Posts
Notice
No Rules Rules
없는 숫자 더하기 (feat. 프로그래머스, 86051번) 본문
728x90
반응형
없는 숫자 더하기
https://programmers.co.kr/learn/courses/30/lessons/86051
프로그래머스
코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.
programmers.co.kr
반응형
// woohyeon.kim
#include <string>
#include <vector>
using namespace std;
int solution(vector<int> numbers) {
auto answer = 45; // 0 ~ 9의 총합
for(const auto& number : numbers)
answer -= number;
return answer;
}
// *&)*@*
728x90
반응형
'생활 > 코테' 카테고리의 다른 글
내적 (feat. 프로그래머스, 70128번) (0) | 2022.07.21 |
---|---|
카카오프렌즈 컬러링북 (feat. 프로그래머스, 1829번) (0) | 2022.07.21 |
음양 더하기 (feat. 프로그래머스, 76501번) (0) | 2022.07.21 |
완주하지 못한 선수 (feat. 프로그래머스, 42576번) (0) | 2022.07.21 |
크레인 인형뽑기 게임 (feat. 프로그래머스, 64061번) (0) | 2022.07.21 |
Comments