mirror of
https://github.com/renbaoshuo/202401-programming-assignments.git
synced 2024-11-23 15:48:42 +00:00
18 lines
269 B
C
18 lines
269 B
C
#include <stdio.h>
|
|
|
|
int main() {
|
|
double a, b, m, n;
|
|
|
|
scanf("%lf%lf%lf%lf", &a, &b, &m, &n);
|
|
|
|
if (m == a && n == b) {
|
|
printf("3\n");
|
|
} else if (m == a || n == b) {
|
|
printf("4\n");
|
|
} else {
|
|
printf("5\n");
|
|
}
|
|
|
|
return 0;
|
|
}
|