#include <stdio.h>
int main()
{
int a = 0;
int b = 0;
int c = 0;
int d = 0;
scanf("%d %d", &a, &b);
if(a > 0 && b < 10000)
{
c = a / b;
d = a % b;
printf("%d %d ",c ,d);
}
return 0;
}
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
int a;
int b;
a > 0;
b < 10.000;
scanf("%d %d", &a, &b);
printf("%d %d", a / b, a % b);
return 0;
}
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); if (b == 0) printf("error\n"); else if (a > 0 && b < 10000) printf("%d %d\n", a / b, a % b); else printf("error\n");
#include <stdio.h> int main() { int a = 0; intb = 0; scanf("%d %d", &a, &b); int c = 0; int d = 0; c = a / b; d = a % b; printf("%d %d", c, d); return 0; }