#include <stdio.h> int main() { int x1,y1; scanf("%d %d",&x1, &y1); int x2,y2; scanf("%d %d",&x2, &y2); printf("%d",(x2-x1)*(y2-y1)); return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: