We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
소스 코드
시간:분을 분 단위로 변경해서 45분을 빼준다. 만약 이때 음수가 된다면 전날이 되는 것이므로 24*60을 더해줌.
m = h*60 + m - 45; if(m < 0) { m += 24*60; } cout << m / 60 << ' ' << m % 60;
The text was updated successfully, but these errors were encountered:
minsoo0715
No branches or pull requests
2884: 알람 시계
소스 코드
아이디어
시간:분을 분 단위로 변경해서 45분을 빼준다. 만약 이때 음수가 된다면 전날이 되는 것이므로 24*60을 더해줌.
구현
The text was updated successfully, but these errors were encountered: