Toggle navigation
Toggle navigation
This project
Loading...
Sign in
윤동주
/
LINEBOT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
최한솔
2019-12-05 03:31:31 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
afc377414f22771f24b836ef151950f93cc8e68d
afc37741
2 parents
9476c84d
27ff1c80
Merge branch 'dialogflow' of
ssh://khuhub.khu.ac.kr:12959/2018104830/LINEBOT
into dialogflow
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
calculation.txt
calculation.txt
View file @
afc3774
/1cycle = 1시간 30분 (90분)
//X시 Y분에 기상 시 몇시에 주무세요
//Y-30 > 0 일때
//X시 Y분에 기상 시 몇시에 주무세요
//
//Y-30 >
=
0 일때
6cycles → (X-9)시 Y분에 주무세요
5cycles → (X-7)시 (Y-30)분에 주무세요
4cycles → (X-6)시 Y분에 주무세요
3cycles → (X-4)시 (Y-30)분에 주무세요
//Y-30 < 0 일때
6cycles → (X-9)시 Y분에 주무세요
5cycles → (X-8)시 (Y+30)분에 주무세요
4cycles → (X-6)시 Y분에 주무세요
3cycles → (X-5)시 (Y+30)분에 주무세요
//X시 Y분에 취침 시 몇시에 일어나세요
//Y+30 < 60 일때
//X시 Y분에 취침 시 몇시에 일어나세요
//
//Y+30 <
=
60 일때
1cycle → (X+1)시 (Y+30)분에 일어나세요
4cycle → (X+6)시 Y분에 일어나세요
5cycle → (X+7)시 (Y+30)분에 일어나세요
6cycle → (X+9)시 Y분에 일어나세요
//Y+30 > 60 일때
1cycle → (X+2)시 (Y-30)분에 일어나세요
4cycle → (X+6)시 Y분에 일어나세요
...
...
Please
register
or
login
to post a comment