Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 02ff972

Browse files
new problem from uri
1 parent a488240 commit 02ff972

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

‎Online Judges/URI/2437.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
#include <iostream>
3+
4+
using namespace std;
5+
6+
int main() {
7+
8+
int x1, x2, y1, y2;
9+
cin >> x1 >> y1 >> x2 >> y2;
10+
11+
cout << abs(x2 - x1) + abs(y2 - y1) << endl;
12+
return 0;
13+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /