์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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
- ๊ฒ์์์ง
- ํ๋ก๊ทธ๋๋จธ์ค
- ๋ฐ์ดํฐ ํฉ์ฑ
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ์ ๊ณต์ํฉ๊ฒฉํ๊ธฐ
- ์์ฐ์ด์ฒ๋ฆฌ ๋ ผ๋ฌธ ๋ฆฌ๋ทฐ
- Leveraging Slot Descriptions for Zero-Shot Cross-Domain Dialogue State Tracking
- dialogue state tracking
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ ์์ ๋น
- ๋ฅ๋ฌ๋๊ธฐ์ด
- DST fewshot learning
- Few Shot Dialogue State Tracking using Meta-learning
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ ์ฑ ์ถ์ฒ
- 2020์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌํ๊ธฐ
- ๋ฐฑ์ค
- classification text
- SUMBT:Slot-Utterance Matching for Universal and Scalable Belief Tracking
- MySQL
- ๋ค์ด๋๋ฏน ํ๋ก๊ทธ๋๋ฐ
- few shot dst
- DST zeroshot learning
- Zero-shot transfer learning with synthesized data for multi-domain dialogue state tracking
- til
- Python
- nlp๋ ผ๋ฌธ๋ฆฌ๋ทฐ
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ์ ๊ณต์
- ํ์ด์ฌ์ ํ์ด์ฌ๋ต๊ฒ
- 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 ํ๊ธ
Archives
- Today
- Total
๐ฒ์๋ผ๋๋์ฒญ๋
[๋ฐฑ์ค]Q1110 ๋ํ๊ธฐ ์ฌ์ดํด(์๋ฐ) ๋ณธ๋ฌธ
๋ฐ์ํ
๋ฐฑ์ค 1110 ๋ฒ ๋ํ๊ธฐ ์ฌ์ดํด ๋ฌธ์ ๋ฅผ ์๋ฐ๋ฅผ ์ด์ฉํด์ ํ์๋ค.
๋ฑํ ์๋ฃ๊ตฌ์กฐ๊ฐ์๊ฒ์ด ํ์ํ์ง ์์๋ค.
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
33
34
35
36
37
|
import java.util.*;
public class Q1110{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int N = scan.nextInt();
int cnt=0;
int next =N;
while(true){
next = func(next);
cnt++;
if(N==next){
break;
}
}
System.out.println(cnt);
}
private static int func(int n){
int next_num=0;
if(n>=10){
//sum of each position
int position_sum = n/10 + n%10;
int position_sum_last = position_sum%10;
next_num = (n%10)*10 + position_sum_last;
}
if(n<10){
next_num = n*10 + n;
}
return next_num;
}
}
|
cs |
์๊ฒ ๋ ๊ฒ
char -> int ๋ก ๋ณํํ ๋ -0 ๊ฐ์ ์ฐ์ฐ์ ํด์ฃผ๋ฉด ๋๋ค๊ณ ํ๋๋ฐ ๋๋ ์ ์๋์๋ค.
๊ทธ๋ฆฌ๊ณ ๋ ์๋ฆฌ์์ ๊ฐ ์๋ฆฌ ํฉ์ ๊ตฌํ ๋ N%10 + N/10์ ํ๋ฉด ์ฝ๊ฒ ๊ตฌํ ์ ์์๋ค.
๋ฐ์ํ
'์๊ณ ๋ฆฌ์ฆ ๋ฌธ์ ํ์ด' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[๋ฐฑ์ค]Q2875 ๋ํor์ธํด (java,๊ทธ๋ฆฌ๋ ์๊ณ ๋ฆฌ์ฆ) (0) | 2019.09.29 |
---|---|
[๋ฐฑ์ค] Q11047 ๋์ (java, ๊ทธ๋ฆฌ๋ ์๊ณ ๋ฆฌ์ฆ) (0) | 2019.09.29 |
[ํ๋ก๊ทธ๋๋จธ์ค]์ ํ๋ฒํธ๋ถ(์๋ฐ, ์ ๋์ฌ) (0) | 2019.09.28 |
[ํ๋ก๊ทธ๋๋จธ์ค] ์์ฃผํ์ง ๋ชปํ ์ ์(์๋ฐ, ํด์ฌ๋งต) (0) | 2019.09.28 |
[๋ฐฑ์ค]Q2667 ๋จ์ง๋ฒํธ ๋ถ์ด๊ธฐ(java, DFS์๊ณ ๋ฆฌ์ฆ) (0) | 2019.09.27 |