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
- react
- AWS
- aws ec2
- 어셈블리어
- C언어
- ERR_PNPM_NO_GLOBAL_BIN_DIR
- ins-32103
- Error:error:0308010C:digital envelope routines::unsupported
- credential error
- 이미지 좌표 추출
- 설치완료안됨
- can't getting credentials
- CSS
- 김골라
- 반응형 페이지 좌표 변환
- S3
- NODE_VERSION
- nodejs
- EC2
- expo
- AWS CodeBuild
- Sequelize Error: Dialect needs to be explicitly supplied as of v4.0.0
- netlify variables
- SASS
- rwdImageMaps
- AWS CodePipeline
- ogr2ogr
- node
- Unable to find the global bin directory
- GeoJSON object too complex/large
Archives
- Today
- Total
ImFe's study
[C] 2884번 - 알람시계 본문
#include <stdio.h>
int main()
{
int h, m = 0;
scanf("%d %d", &h, &m);
if (m >= 45)
{
m -= 45;
}
else
{
h -= 1;
m += 15;
}
if (h < 0)
{h = 23;
}
printf("%d %d", h, m);
return 0;
}
'Programming > C언어 백준 풀이' 카테고리의 다른 글
[C] 10950번 - A+B - 3 (0) | 2020.12.14 |
---|---|
[C] 2739번 - 구구단 (0) | 2020.12.13 |
[C] 14681번 - 사분면 고르기 (0) | 2020.12.09 |
[C] 2753번 - 윤년 (0) | 2020.12.09 |
[C] 9498번 - 시험 성적 (0) | 2020.12.08 |
Comments