์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
- dialogue state tracking
- SUMBT:Slot-Utterance Matching for Universal and Scalable Belief Tracking
- ๋ชจ๋์๋ฅ๋ฌ๋
- few shot dst
- DST fewshot learning
- nlp๋ ผ๋ฌธ๋ฆฌ๋ทฐ
- Leveraging Slot Descriptions for Zero-Shot Cross-Domain Dialogue State Tracking
- ๋ค์ด๋๋ฏน ํ๋ก๊ทธ๋๋ฐ
- ๋ฐฑ์ค
- ๋ฐ์ดํฐ ํฉ์ฑ
- Zero-shot transfer learning with synthesized data for multi-domain dialogue state tracking
- ๊ฒ์์์ง
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ์ ๊ณต์ํฉ๊ฒฉํ๊ธฐ
- 2020์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌํ๊ธฐ
- Few Shot Dialogue State Tracking using Meta-learning
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ ์ฑ ์ถ์ฒ
- ์์ฐ์ด์ฒ๋ฆฌ ๋ ผ๋ฌธ ๋ฆฌ๋ทฐ
- classification text
- DST zeroshot learning
- ํ์ด์ฌ์ ํ์ด์ฌ๋ต๊ฒ
- ๋ฅ๋ฌ๋๊ธฐ์ด
- From Machine Reading Comprehension to Dialogue State Tracking: Bridging the Gap
- MySQL
- How Much Knowledge Can You Pack Into the Parameters of a Language Model?
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ์ ๊ณต์
- ํ๋ก๊ทธ๋๋จธ์ค
- fasttext text classification ํ๊ธ
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ ์์ ๋น
- til
- Python
- Today
- Total
๋ชฉ๋ก๋ค์ด๋๋ฏน ํ๋ก๊ทธ๋๋ฐ (3)
๐ฒ์๋ผ๋๋์ฒญ๋
๊ณ๋จ์ค๋ฅด๊ธฐ ๋ฌธ์ , ๋ค์ด๋๋ฏน ํ๋ก๊ทธ๋๋ฐ์ผ๋ก ํ์๋ค. ๋์์ฝ๋ 12345678910111213141516N = int(input())d = [[0,0]for _ in range(N+1)] # 0: ๋ฐ๋ก์ 1: ๋์นธ์ for n in range(1,N+1): num = int(input()) if(n == 1): d[n][0] = num d[n][1] = num elif(n == 2): d[n][0] = d[n-1][0] + num d[n][1] = num else: d[n][0] = d[n-1][1] + num d[n][1] = max(d[n-2][0], d[n-2][1]) + num # max ์ธ๊ฒ์ ์ฃผ์ print(max(d[N][0], d[N][1])) Colored by Color Scriptercs
๋ฐฑ์ค ๋๋ฌผ์ ๋ฌธ์ ๋ฅผ ๋ค์ด๋๋ฏน ํ๋ก๊ทธ๋๋ฐ์ผ๋ก ํ์ด๋ณด์๋ค. case0,1,2 ๋ ๊ฐ๊ฐ ์ฌ์๊ฐ ์์๋, ์ผ์ชฝ์ ์์๋, ์ค๋ฅธ์ชฝ์ ์์ ๋๋ฅผ ์๋ฏธํ๋ค. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 def main(): N = int(input()) case =[1,1,1] for i in range(2,N+1): c0 = case[0] + case[1] + case[2] c1 = case[0] + case[1] c2 = case[0] + case[2] case[0] = c0%9901 case[1] = c1%9901 case[2] = c2%9901 print(sum(case)%9901) if __name__ == "__main__": main() cs
๋ค์ด๋๋ฏน ํ๋ก๊ทธ๋๋ฐ ๋ฐฉ๋ฒ์ ์ด์ฉํด์ ํ์๋ค. ๋์ ์ฝ๋ : 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 32 import java.util.Scanner; class Q1463{ public static int[] d; public static void main(String args[]){ Scanner scan = new Scanner(System.in); int N = scan.nextInt(); d = new int[N+1]; d[0] = 0; d[1] = 0; for(int i=2; id[i/2]+1){ min = d[i/2]+1; } if(i%3 == 0 && min>d[i/3]+1){ mi..