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 |
Tags
- C언어
- ogr2ogr
- credential error
- expo
- GeoJSON object too complex/large
- ERR_PNPM_NO_GLOBAL_BIN_DIR
- nodejs
- 반응형 페이지 좌표 변환
- CSS
- SASS
- EC2
- Unable to find the global bin directory
- ins-32103
- AWS CodeBuild
- 이미지 좌표 추출
- netlify variables
- aws ec2
- AWS CodePipeline
- Error:error:0308010C:digital envelope routines::unsupported
- 설치완료안됨
- 김골라
- 어셈블리어
- S3
- Sequelize Error: Dialect needs to be explicitly supplied as of v4.0.0
- react
- rwdImageMaps
- can't getting credentials
- node
- AWS
- NODE_VERSION
Archives
- Today
- Total
ImFe's study
[C] 10430번 - 나머지 본문
원하는 출력값을 그대로 입력해준다.
#include <stdio.h>
int main()
{
int a;
int b;
int c;
scanf("%d %d %d", &a, &b, &c);
printf("%d\n", (a+b)%c);
printf("%d\n", ((a%c)+(b%c))%c);
printf("%d\n", (a*b)%c);
printf("%d\n", ((a%c)*(b%c))%c);
return 0;
}
'Programming > C언어 백준 풀이' 카테고리의 다른 글
[C] 9498번 - 시험 성적 (0) | 2020.12.08 |
---|---|
[C] 1330번 - 두 수 비교하기 (0) | 2020.12.08 |
[C] 2588번 - 곱셈 (0) | 2020.12.08 |
[C] 10869 - 사칙연산 (0) | 2020.12.08 |
[C] 1008번 - A/B (0) | 2020.12.07 |
Comments