SlideShare a Scribd company logo
1 of 7
Data Structures
amugona study 4회
20150820 mjh
알고리즘 문제 풀어보기
• kriiicon에 나왔던 문제를 한번 풀어보자
• 연습문제는 충분히 풀 수 있지 않을까 해서 진행
꼬마 정민
long long을 이용하여 부분문제 풀이
long long 출력시 %lld같이 ll 붙인다
0 이하의 값 예외처리 하려다 안함
3개의 값을 받아 더한 값을 출력
뚊 N, M 입력
N > 0
첫 번째 이미지 입력
N--
N > 0
두 번째 이미지 입력
N--
equal
Eyfa
Not Eyfa
뚊
for문을 이용하여 비교를 하였음
정리가 되지 않아 많이 지저분한 코드
제출했지만 컴파일 에러가 남
메모리 동적 할당 법을 알아보자
문자를 2배로 늘려 Eyfa인지 비교
빨간 직사각형
문제도 이해하지 못함
문제점
• 현재 본인의 수준이 심각한 것을 알게됨
• 수학적인 문제가 나오는 순간 머리가 돌아가지 않음
• c언어 문법도 잘 모름
해결방안
반복적인 문제 풀이가 필요함
생각하는 연습을 많이 해보자
수학공부와 c언어 함수 많이 사용

More Related Content

Viewers also liked

Non linearregression 4+
Non linearregression 4+Non linearregression 4+
Non linearregression 4+Ricardo Solano
 
Ricoh Services Overview
Ricoh Services OverviewRicoh Services Overview
Ricoh Services OverviewSam Ayling
 
Workshop IT Project Management - Raggiungere il successo nei progetti IT: gui...
Workshop IT Project Management - Raggiungere il successo nei progetti IT: gui...Workshop IT Project Management - Raggiungere il successo nei progetti IT: gui...
Workshop IT Project Management - Raggiungere il successo nei progetti IT: gui...SMAU
 
I'm to amazing
I'm to amazingI'm to amazing
I'm to amazingsanchezam
 
Lossless Grey-scale Image Compression Using Source Symbols Reduction and Huff...
Lossless Grey-scale Image Compression Using Source Symbols Reduction and Huff...Lossless Grey-scale Image Compression Using Source Symbols Reduction and Huff...
Lossless Grey-scale Image Compression Using Source Symbols Reduction and Huff...CSCJournals
 
中国对非洲的对外投资 Chinese Outbound Investment in Africa
中国对非洲的对外投资 Chinese Outbound Investment in Africa中国对非洲的对外投资 Chinese Outbound Investment in Africa
中国对非洲的对外投资 Chinese Outbound Investment in AfricaAntonio Graceffo, PhD, China-MBA
 
高専カンファレン○
高専カンファレン○高専カンファレン○
高専カンファレン○Daichi OBINATA
 
Produccion audiovisual 2
Produccion audiovisual 2Produccion audiovisual 2
Produccion audiovisual 2Formadores CIE
 
Google Hangouts: guida alla video chiamata
Google Hangouts: guida alla video chiamataGoogle Hangouts: guida alla video chiamata
Google Hangouts: guida alla video chiamataTourTools
 
Social Networking Service
Social Networking ServiceSocial Networking Service
Social Networking Servicesibalmonkeys
 
Ultimos avances tecnológicos
Ultimos avances tecnológicosUltimos avances tecnológicos
Ultimos avances tecnológicosbrianxhp
 

Viewers also liked (20)

Non linearregression 4+
Non linearregression 4+Non linearregression 4+
Non linearregression 4+
 
C:\Fakepath\Delicious
C:\Fakepath\DeliciousC:\Fakepath\Delicious
C:\Fakepath\Delicious
 
Ricoh Services Overview
Ricoh Services OverviewRicoh Services Overview
Ricoh Services Overview
 
nazaret antigua 10
nazaret antigua 10nazaret antigua 10
nazaret antigua 10
 
Workshop IT Project Management - Raggiungere il successo nei progetti IT: gui...
Workshop IT Project Management - Raggiungere il successo nei progetti IT: gui...Workshop IT Project Management - Raggiungere il successo nei progetti IT: gui...
Workshop IT Project Management - Raggiungere il successo nei progetti IT: gui...
 
Ford focus 1.6 eco boost titanium
Ford focus 1.6 eco boost titaniumFord focus 1.6 eco boost titanium
Ford focus 1.6 eco boost titanium
 
Adivina
AdivinaAdivina
Adivina
 
I'm to amazing
I'm to amazingI'm to amazing
I'm to amazing
 
Lossless Grey-scale Image Compression Using Source Symbols Reduction and Huff...
Lossless Grey-scale Image Compression Using Source Symbols Reduction and Huff...Lossless Grey-scale Image Compression Using Source Symbols Reduction and Huff...
Lossless Grey-scale Image Compression Using Source Symbols Reduction and Huff...
 
Harlem
HarlemHarlem
Harlem
 
中国对非洲的对外投资 Chinese Outbound Investment in Africa
中国对非洲的对外投资 Chinese Outbound Investment in Africa中国对非洲的对外投资 Chinese Outbound Investment in Africa
中国对非洲的对外投资 Chinese Outbound Investment in Africa
 
高専カンファレン○
高専カンファレン○高専カンファレン○
高専カンファレン○
 
Social commerce 이해
Social commerce 이해Social commerce 이해
Social commerce 이해
 
Boletín Agroclimático Eje Cafetero #1
Boletín Agroclimático Eje Cafetero #1Boletín Agroclimático Eje Cafetero #1
Boletín Agroclimático Eje Cafetero #1
 
VINCERE LE ELEZIONI
VINCERE LE ELEZIONIVINCERE LE ELEZIONI
VINCERE LE ELEZIONI
 
Produccion audiovisual 2
Produccion audiovisual 2Produccion audiovisual 2
Produccion audiovisual 2
 
Google Hangouts: guida alla video chiamata
Google Hangouts: guida alla video chiamataGoogle Hangouts: guida alla video chiamata
Google Hangouts: guida alla video chiamata
 
Social Networking Service
Social Networking ServiceSocial Networking Service
Social Networking Service
 
Suicide
SuicideSuicide
Suicide
 
Ultimos avances tecnológicos
Ultimos avances tecnológicosUltimos avances tecnológicos
Ultimos avances tecnológicos
 

자료구조 4차

  • 1. Data Structures amugona study 4회 20150820 mjh
  • 2. 알고리즘 문제 풀어보기 • kriiicon에 나왔던 문제를 한번 풀어보자 • 연습문제는 충분히 풀 수 있지 않을까 해서 진행
  • 3. 꼬마 정민 long long을 이용하여 부분문제 풀이 long long 출력시 %lld같이 ll 붙인다 0 이하의 값 예외처리 하려다 안함 3개의 값을 받아 더한 값을 출력
  • 4. 뚊 N, M 입력 N > 0 첫 번째 이미지 입력 N-- N > 0 두 번째 이미지 입력 N-- equal Eyfa Not Eyfa
  • 5. 뚊 for문을 이용하여 비교를 하였음 정리가 되지 않아 많이 지저분한 코드 제출했지만 컴파일 에러가 남 메모리 동적 할당 법을 알아보자 문자를 2배로 늘려 Eyfa인지 비교
  • 7. 문제점 • 현재 본인의 수준이 심각한 것을 알게됨 • 수학적인 문제가 나오는 순간 머리가 돌아가지 않음 • c언어 문법도 잘 모름 해결방안 반복적인 문제 풀이가 필요함 생각하는 연습을 많이 해보자 수학공부와 c언어 함수 많이 사용