This commit is contained in:
Park Byung Eun 2020-09-08 21:43:10 +09:00
parent 351a451ae0
commit 56ff9727fb
4 changed files with 185 additions and 0 deletions

View File

@ -4,3 +4,18 @@
바탕화면에 아이콘 생성되지 않는 이슈 바탕화면에 아이콘 생성되지 않는 이슈
2. lf 2. lf
비밀번호 90일 연장 API 적용 비밀번호 90일 연장 API 적용
로그인
아이디(IP Phone 풀번호), 패스워드,
고급설정
IP, Port
지정하지 않은경우
아이피폰 기본 디폴트 값이 따로 정의되어 있는지 확인
지정한 경우
아이피와 포트를 지정한 경우
ip pbx 사용자 로그인
개인정보 동의
"build:domain:all": "npm-run-all -s build:domain-common build:domain-authentication build:domain-authorization build:domain-status build:domain-address-book build:domain-call build:domain-sms build:domain-record build:domain-memo",

View File

@ -0,0 +1,95 @@
"publish:domain:all": "npm-run-all -s publish:domain-common publish:domain-authentication publish:domain-authorization publish:domain-status publish:domain-address-book publish:domain-call publish:domain-sms publish:domain-record publish:domain-memo",
"publish:domain-common": "node ./scripts/publish.js domain-common",
"publish:domain-authentication": "node ./scripts/publish.js domain-authentication",
"publish:domain-authorization": "node ./scripts/publish.js domain-authorization",
"publish:domain-status": "node ./scripts/publish.js domain-status",
"publish:domain-address-book": "node ./scripts/publish.js domain-address-book",
"publish:domain-call": "node ./scripts/publish.js domain-call",
"publish:domain-sms": "node ./scripts/publish.js domain-sms",
"publish:domain-record": "node ./scripts/publish.js domain-record",
"publish:domain-memo": "node ./scripts/publish.js domain-memo",
"publish:api:all": "npm-run-all -s publish:api-common publish:api-address-book publish:api-authentication publish:api-call publish:api-memo publish:api-public publish:api-record publish:api-sms",
"publish:api-common": "node ./scripts/publish.js api-common",
"publish:api-address-book": "node ./scripts/publish.js api-address-book",
"publish:api-authentication": "node ./scripts/publish.js api-authentication",
"publish:api-call": "node ./scripts/publish.js api-call",
"publish:api-memo": "node ./scripts/publish.js api-memo",
"publish:api-public": "node ./scripts/publish.js api-public",
"publish:api-record": "node ./scripts/publish.js api-record",
"publish:api-sms": "node ./scripts/publish.js api-sms",
1. ? Offshore PLM
:201410~20153
:
:
Architecture, Performance
:
Java, Enovia 2014X, Matrix, JQuery, Javascript, CSS
2. Dumbo
:201404~201409
: , /,
:
,
:
C++, Cocos-2d, Android, iPhone, Java, Servlet, SNS API
3. Woundary
:201206~201306
: , /,
:
SNS
:
Java, Spring Framework, JPA, Reverse AJAX, Objective-C, Android
3.
:201111~201203
: , /,
:
:
Java, Spring Framework, JPA, Android, HTML5
4.
:201109~201112
: , /,
:
,
:
Java,, Android
5. Tweech
:201101~201102
: , /,
:
Tweeter , ,
:
Java,, Objective-C
6.
:201010~201012
: , /,
:
API
:
Objective-C
LG CNS CNS LG CNS
LG CNS
LG CNS
,
IT
: , , , , ,
/ , "없음"
/
LG CNS
(:IT SM, IT, SI, , )
https://plustag.tistory.com/47
. ..

View File

@ -0,0 +1,75 @@
'use strict';
const fs = require('fs');
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
process.stdin.on('data', function(inputStdin) {
inputString += inputStdin;
});
process.stdin.on('end', function() {
inputString = inputString.split('\n');
main();
});
function readLine() {
return inputString[currentLine++];
}
/*
* Complete the 'filledOrders' function below.
*
* The function is expected to return an INTEGER.
* The function accepts following parameters:
* 1. INTEGER_ARRAY order
* 2. INTEGER k
*/
function filledOrders(order, k) {
// Write your code here
let total = 0;
let count = 0;
const ordersLength = order.length;
const sortedOrders = order.sort();
for (let i = 0; i < ordersLength; i++) {
if (total + sortedOrders[i] <= k) {
// if all orders able to be filled
if (total <= k && i === ordersLength - 1) return ordersLength;
total += sortedOrders[i];
count++;
} else {
return count;
}
}
}
function main() {
const ws = fs.createWriteStream(process.env.OUTPUT_PATH);
const orderCount = parseInt(readLine().trim(), 10);
let order = [];
for (let i = 0; i < orderCount; i++) {
const orderItem = parseInt(readLine().trim(), 10);
order.push(orderItem);
}
const k = parseInt(readLine().trim(), 10);
const result = filledOrders(order, k);
ws.write(result + '\n');
ws.end();
}