์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
Tags
- Python
- dialogue state tracking
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ ์์ ๋น
- DST fewshot learning
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ ์ฑ ์ถ์ฒ
- nlp๋ ผ๋ฌธ๋ฆฌ๋ทฐ
- MySQL
- ํ์ด์ฌ์ ํ์ด์ฌ๋ต๊ฒ
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ์ ๊ณต์
- few shot dst
- ๋ค์ด๋๋ฏน ํ๋ก๊ทธ๋๋ฐ
- SUMBT:Slot-Utterance Matching for Universal and Scalable Belief Tracking
- ๋ฅ๋ฌ๋๊ธฐ์ด
- Zero-shot transfer learning with synthesized data for multi-domain dialogue state tracking
- ๊ฒ์์์ง
- ๋ฐ์ดํฐ ํฉ์ฑ
- ํ๋ก๊ทธ๋๋จธ์ค
- Few Shot Dialogue State Tracking using Meta-learning
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ์ ๊ณต์ํฉ๊ฒฉํ๊ธฐ
- How Much Knowledge Can You Pack Into the Parameters of a Language Model?
- ๋ฐฑ์ค
- ์์ฐ์ด์ฒ๋ฆฌ ๋ ผ๋ฌธ ๋ฆฌ๋ทฐ
- From Machine Reading Comprehension to Dialogue State Tracking: Bridging the Gap
- ๋ชจ๋์๋ฅ๋ฌ๋
- fasttext text classification ํ๊ธ
- DST zeroshot learning
- Leveraging Slot Descriptions for Zero-Shot Cross-Domain Dialogue State Tracking
- til
- 2020์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌํ๊ธฐ
- classification text
Archives
- Today
- Total
๐ฒ์๋ผ๋๋์ฒญ๋
[๋ฐฑ์ค] ๋์ 2 python ๋ณธ๋ฌธ
๋ฐ์ํ
๋์ 2 ๋ฌธ์ ๋ฅผ ๋ค์ด๋๋ฏน ํ๋ก๊ทธ๋๋ฐ์ผ๋ก ํ์ด ๋ณด์๋ค.
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
|
import sys
def main():
K, N = map(int, sys.stdin.readline().split())
coins = []
for _ in range(K):
coins.append(int(sys.stdin.readline()))
d = [-1 for _ in range(N+1)]
d[0] = 0
for i in coins:
if(i<=N):
d[i] = 1
# dp : ์ฌ์ฉํ๋ ๋์ ์
for i in coins:
for j in range(i, N+1):
if(d[j-i]==-1):
continue
elif(d[j]==-1 or d[j]>d[j-i]+1):
d[j] = d[j-i]+1
print(d[N])
if __name__ =="__main__":
main()
|
cs |
๋ฐ์ํ
'์๊ณ ๋ฆฌ์ฆ ๋ฌธ์ ํ์ด' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[๋ฐฑ์ค]2579๋ฒ ๊ณ๋จ ์ค๋ฅด๊ธฐ, ๋ค์ด๋๋ฏนํ๋ก๊ทธ๋๋ฐ (0) | 2020.05.19 |
---|---|
[๋ฐฑ์ค] 9095๋ฒ, 1,2,3 ๋ํ๊ธฐ(๋ค์ด๋๋ฏน ํ๋ก๊ทธ๋๋ฐ) (0) | 2020.05.19 |
[๋ฐฑ์ค] ๋์ 1 ํ์ด์ฌ ํ์ด(DP) (0) | 2019.12.04 |
[๋ฐฑ์ค] ๋ฏธ๋ก์ฐพ๊ธฐ ํ์ด์ฌ(Q2178) (0) | 2019.11.29 |
[๋ฐฑ์ค] Q1309 ๋๋ฌผ์ (python , ๋ค์ด๋๋ฏน ํ๋ก๊ทธ๋๋ฐ) (0) | 2019.11.29 |