#include <stdio.h> int main(){ int a,b,c,d; scanf("%d %d",&a,&b); c=a/b;//算出整数商并存储于c中 d=a%b;//算出余数并存储于d中 printf("%d %d",c,d); return 0; }