250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- the midnight library
- PyQt
- SQL
- 삼성
- 프로그래머스
- MySQL
- English
- 알고리즘 문제
- 코테 대비
- 완전탐색
- sw expert
- sw expert academy
- swexpertacademy
- 원서
- 직무면접
- 쉬운 알고리즘 문제
- dfs
- 코테
- readingbook
- STUDYENGLISH
- 원서읽기
- 원서읽자
- 백준
- 알고리즘
- englishbook
- BFS
- D4
- 코딩테스트
- nightroutine
- 코테 준비
Archives
- Today
- Total
목록코테 대비 (19)
시나브로
[D2] 2007. 패턴 마디의 길이
#include #include #include using namespace std; int main() { int test_number = 0; scanf("%d\n", &test_number); for (int p = 0; p < test_number; p++) { char stence[32] = { 0 }; for (int i=0;;i++) { scanf("%c", &stence[i]); if (stence[i] == '\n') break; } char box[32] = { 0 }; int box_index = 0; int box_i = 0; for (int i = 0;; i++) { for (int j = 0; ; j++) { if (stence[i] != box[j]&&box[j]=='\0') ..
알고리즘/SW Expert Academy
2019. 10. 6. 10:52
[D3] 3456. 직사각형 길이 찾기
#include int main(void){ int test_number=0; int a=1; for(scanf("%d",&test_number);test_number>0;test_number--){ int one,two,three; scanf("%d %d %d",&one,&two,&three); if(one==three) printf("#%d %d\n",a++,two); else if(one==two) printf("#%d %d\n",a++,three); else if(two=three) printf("#%d %d\n",a++,one); } }
알고리즘/SW Expert Academy
2019. 10. 6. 10:51