173882025-07-15 10:39:54algoproMicimackó (40 pont)cpp17Wrong answer 2/401ms512 KiB
// UUID: 11d5c542-f81d-47e1-a384-8ea0484a79df
#include <bits/stdc++.h>
using namespace std;

int main() {
	int X,K,Y,N;
	int mez;
	cin >> Y >> X;
	cin >> K >> N;
	mez = abs(Y-K);
	mez += abs(X-N);
	cout << mez + 1;
}
SubtaskSumTestVerdictTimeMemory
base2/40
1Accepted0/01ms316 KiB
2Wrong answer0/01ms512 KiB
3Wrong answer0/21ms316 KiB
4Wrong answer0/21ms316 KiB
5Wrong answer0/21ms316 KiB
6Wrong answer0/21ms316 KiB
7Wrong answer0/21ms316 KiB
8Wrong answer0/21ms316 KiB
9Wrong answer0/21ms500 KiB
10Wrong answer0/21ms316 KiB
11Wrong answer0/21ms316 KiB
12Wrong answer0/21ms316 KiB
13Wrong answer0/21ms316 KiB
14Wrong answer0/21ms316 KiB
15Wrong answer0/21ms316 KiB
16Wrong answer0/21ms316 KiB
17Wrong answer0/21ms316 KiB
18Wrong answer0/21ms316 KiB
19Wrong answer0/21ms316 KiB
20Wrong answer0/21ms328 KiB
21Wrong answer0/21ms316 KiB
22Accepted2/21ms316 KiB