#include <stdio.h> int main() { int a,b; scanf("%d %d",&a,&b); if(b==0) printf("ERROR\n"); else printf("%d %d",a/b,a%b); return 0; }
#include <stdio.h> int main() { int a,b; scanf("%d %d",&a,&b); if(b==0) printf("ERROR\n"); else printf("%d %d",a/b,a%b); return 0; }