problem_id stringlengths 6 6 | buggy_code stringlengths 8 526k | fixed_code stringlengths 12 526k | labels listlengths 0 15 ⌀ | buggy_submission_id int64 1 1.54M | fixed_submission_id int64 2 1.54M | user_id stringlengths 10 10 | language stringclasses 8
values |
|---|---|---|---|---|---|---|---|
p02363 | #include "bits/stdc++.h"
#include <sys/timeb.h>
using namespace std;
#define repl(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define rep(i, n) repl(i, 0, n)
#define replrev(i, a, b) for (int i = (int)(b)-1; i >= (int)(a); i--)
#define reprev(i, n) replrev(i, 0, n)
#define repi(itr, ds) for (auto itr = ds.begin... | #include "bits/stdc++.h"
#include <sys/timeb.h>
using namespace std;
#define repl(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define rep(i, n) repl(i, 0, n)
#define replrev(i, a, b) for (int i = (int)(b)-1; i >= (int)(a); i--)
#define reprev(i, n) replrev(i, 0, n)
#define repi(itr, ds) for (auto itr = ds.begin... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 134,316 | 134,317 | u822035448 | cpp |
p02363 | #include <bits/stdc++.h>
#define r(i, n) for (int i = 0; i < n; i++)
#define INF 1 << 32
using namespace std;
int main() {
int v, n;
cin >> v >> n;
long long a[v][v];
r(i, v) r(j, v) a[i][j] = i == j ? 0 : INF;
r(i, n) {
int x, y, w;
cin >> x >> y >> w;
a[x][y] = w;
}
r(k, v) r(i, v) r(j, v) i... | #include <bits/stdc++.h>
#define r(i, n) for (int i = 0; i < n; i++)
#define INF 2000000000
using namespace std;
int main() {
int v, n;
cin >> v >> n;
long long a[v][v];
r(i, v) r(j, v) a[i][j] = i == j ? 0 : INF;
r(i, n) {
int x, y, w;
cin >> x >> y >> w;
a[x][y] = w;
}
r(k, v) r(i, v) r(j, v... | [
"preprocessor.define.value.change",
"literal.integer.change"
] | 134,321 | 134,319 | u962041986 | cpp |
p02363 | #include <algorithm>
#include <climits>
#include <iostream>
#include <vector>
using namespace std;
static const int MAX = 100;
static const long long INFTY = (1LL << 32);
int n;
long long d[MAX][MAX];
void floyd() {
for (int k = 0; k < n; k++) {
for (int i = 0; i < n; i++) {
if (d[i][k] == INFTY)
... | #include <algorithm>
#include <climits>
#include <iostream>
#include <vector>
using namespace std;
static const int MAX = 100;
static const long long INFTY = (1LL << 32);
int n;
long long d[MAX][MAX];
void floyd() {
for (int k = 0; k < n; k++) {
for (int i = 0; i < n; i++) {
if (d[i][k] == INFTY)
... | [
"identifier.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 134,328 | 134,329 | u722526744 | cpp |
p02363 | #include <bits/stdc++.h>
using namespace std;
const int INF = 1 << 31;
int V, E;
int main() {
cin >> V >> E;
vector<vector<int>> D(V, vector<int>(V, INF));
for (int i = 0; i < V; i++)
D[i][i] = 0;
for (int i = 0; i < E; i++) {
int s, t, d;
cin >> s >> t >> d;
D[s][t] = d;
}
for (int k =... | #include <bits/stdc++.h>
using namespace std;
const int INF = (1LL << 31) - 1;
int V, E;
int main() {
cin >> V >> E;
vector<vector<int>> D(V, vector<int>(V, INF));
for (int i = 0; i < V; i++)
D[i][i] = 0;
for (int i = 0; i < E; i++) {
int s, t, d;
cin >> s >> t >> d;
D[s][t] = d;
}
for ... | [
"literal.number.type.widen.change"
] | 134,336 | 134,335 | u063091489 | cpp |
p02363 | #include <bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
int v, e;
cin >> v >> e;
int g[v][v];
int INF = 1LL << 55LL;
for (int i = 0; i < v; i++)
for (int j = 0; j < v; j++)
g[i][j] = (i != j) * INF;
for (int i = 0; i < e; i++) {
int s, t, d;
cin >> s >> t >> d;
... | #include <bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
int v, e;
cin >> v >> e;
int g[v][v];
int INF = 1LL << 55LL;
for (int i = 0; i < v; i++)
for (int j = 0; j < v; j++)
g[i][j] = (i != j) * INF;
for (int i = 0; i < e; i++) {
int s, t, d;
cin >> s >> t >> d;
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 134,341 | 134,342 | u924665348 | cpp |
p02363 | #include <algorithm>
#include <array>
#include <climits>
#include <iostream>
#include <vector>
using namespace std;
static const int MAX = 100;
static const long long INFTY = (1LL << 32);
int n;
long long d[MAX][MAX];
int e, u, v, c;
int R[100000];
void floyd() {
for (int k = 0; k < n; k++) {
for (int i = 0; i... | #include <algorithm>
#include <array>
#include <climits>
#include <iostream>
#include <vector>
using namespace std;
static const int MAX = 100;
static const long long INFTY = (1LL << 32);
int n;
long long d[MAX][MAX];
int e, u, v, c;
int R[100000];
void floyd() {
for (int k = 0; k < n; k++) {
for (int i = 0; i... | [
"literal.string.change",
"io.output.change"
] | 134,348 | 134,349 | u793201357 | cpp |
p02363 | #include <bits/stdc++.h>
#define INF 1e15
using namespace std;
typedef struct ee {
long long cost, to;
} edge;
int main() {
int v, e;
cin >> v >> e;
vector<vector<ee>> E(v);
long long dp[v + 1][v + 1] = {};
for (int i = 0; i < v; i++) {
for (int j = 0; j < v; j++) {
dp[i][j] = INF;
if (i == ... | #include <bits/stdc++.h>
#define INF 1e18
using namespace std;
typedef struct ee {
long long cost, to;
} edge;
int main() {
int v, e;
cin >> v >> e;
vector<vector<ee>> E(v);
long long dp[v + 1][v + 1] = {};
for (int i = 0; i < v; i++) {
for (int j = 0; j < v; j++) {
dp[i][j] = INF;
if (i == ... | [
"preprocessor.define.value.change",
"literal.float.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 134,366 | 134,367 | u017545322 | cpp |
p02363 | #include <algorithm>
#include <cstdio>
#include <limits>
#include <vector>
int infty = std::numeric_limits<int>::max();
int main(void) {
int V, E, s, t, d;
scanf("%d %d", &V, &E);
std::vector<std::vector<int>> A;
A.resize(V);
for (int i = 0; i < V; i++) {
A[i].resize(V);
for (int j = 0; j < V; j++) ... | #include <algorithm>
#include <cstdio>
#include <limits>
#include <vector>
int infty = std::numeric_limits<int>::max();
int main(void) {
int V, E, s, t, d;
scanf("%d %d", &V, &E);
std::vector<std::vector<int>> A;
A.resize(V);
for (int i = 0; i < V; i++) {
A[i].resize(V);
for (int j = 0; j < V; j++) ... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 134,372 | 134,373 | u616085665 | cpp |
p02363 | #include <algorithm>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
const int INF = 1001001000;
const int MOD = (int)1e9 + 7;
using ll = long long;
using namespace std;
typedef pair<int, int> P;
struct edge {
int to;
i... | #include <algorithm>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
const long long int INF = 6000000000;
const int MOD = (int)1e9 + 7;
using ll = long long;
using namespace std;
typedef pair<int, int> P;
struct edge {
i... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.condition.change"
] | 134,374 | 134,375 | u907590611 | cpp |
p02363 | #include <algorithm>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
const long long int INF = 100100100100;
const int MOD = (int)1e9 + 7;
using ll = long long;
using namespace std;
typedef pair<int, int> P;
struct edge {
... | #include <algorithm>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
const long long int INF = 6000000000;
const int MOD = (int)1e9 + 7;
using ll = long long;
using namespace std;
typedef pair<int, int> P;
struct edge {
i... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.condition.change"
] | 134,376 | 134,375 | u907590611 | cpp |
p02363 | //ワーシャルフロイド
#include <bits/stdc++.h>
using namespace std;
const int MAX = 100;
const long long INF = (1LL << 32);
int n;
long long dp[MAX][MAX];
void floyd() {
for (int k = 0; k < n; k++) {
for (int i = 0; i < n; i++) {
if (dp[i][k] == INF)
continue;
for (int j = 0; j < n; j++) {
i... | //ワーシャルフロイド
#include <bits/stdc++.h>
using namespace std;
const int MAX = 100;
const long long INF = (1LL << 32);
int n;
long long dp[MAX][MAX];
void floyd() {
for (int k = 0; k < n; k++) {
for (int i = 0; i < n; i++) {
if (dp[i][k] == INF)
continue;
for (int j = 0; j < n; j++) {
i... | [
"literal.string.change",
"io.output.change"
] | 134,387 | 134,388 | u520784163 | cpp |
p02363 | #include <bits/stdc++.h>
using namespace std;
int n, m, s[10000], e[10000], w[10000];
long long d[150][150];
int main() {
cin >> n >> m;
long long inf = 1e18;
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
d[i][j] = inf;
}
}
for (int i = 0; i < m; i++) {
cin >> s[i] >> e[i] >>... | #include <bits/stdc++.h>
using namespace std;
int n, m, s[10000], e[10000], w[10000];
long long d[150][150];
int main() {
cin >> n >> m;
long long inf = 1e18;
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
d[i][j] = inf;
}
}
for (int i = 0; i < m; i++) {
cin >> s[i] >> e[i] >>... | [
"control_flow.loop.for.condition.change"
] | 134,395 | 134,396 | u523670754 | cpp |
p02363 | #include <iostream>
using namespace std;
long long b[102][102], v, e;
int main() {
cin >> v >> e;
for (int i = 1; i <= v; i++) {
for (int j = 1; j <= v; j++) {
if (i == j) {
b[i][j] = 0;
} else {
b[i][j] = 1e18;
}
}
}
for (int i = 0; i < e; i++) {
int x, y, z;
c... | #include <iostream>
using namespace std;
long long b[102][102], v, e;
int main() {
cin >> v >> e;
for (int i = 1; i <= v; i++) {
for (int j = 1; j <= v; j++) {
if (i == j) {
b[i][j] = 0;
} else {
b[i][j] = 1e18;
}
}
}
for (int i = 0; i < e; i++) {
int x, y, z;
c... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 134,397 | 134,398 | u434630024 | cpp |
p02363 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
static const int MAX = 100;
#define INF 20000000ll
int V, E;
long long dp[MAX][MAX];
void Warshall_Floyd() {
for (int k = 0; k < V; k++) {
for (int i = 0; i < V; i++) {
for (int j = 0; j < V; j++) {
if (dp[i][k] == INF... | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
static const int MAX = 100;
#define INF 2000000000000ll
int V, E;
long long dp[MAX][MAX];
void Warshall_Floyd() {
for (int k = 0; k < V; k++) {
for (int i = 0; i < V; i++) {
for (int j = 0; j < V; j++) {
if (dp[i][k] =... | [
"preprocessor.define.value.change",
"literal.integer.change",
"literal.string.change",
"io.output.change"
] | 134,399 | 134,400 | u068682075 | cpp |
p02363 | #include <iostream>
#include <vector>
using namespace std;
const long long INF = 1e18;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int n, m;
cin >> n >> m;
vector<vector<long long>> g(n, vector<long long>(n, INF));
for (int i = 0; i < n; i++) {
g[i][i] = 0ll;
}
for (int i = 0; i < m; i+... | #include <iostream>
#include <vector>
using namespace std;
const long long INF = 1e18;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int n, m;
cin >> n >> m;
vector<vector<long long>> g(n, vector<long long>(n, INF));
for (int i = 0; i < n; i++) {
g[i][i] = 0ll;
}
for (int i = 0; i < m; i+... | [
"control_flow.loop.for.condition.change"
] | 134,421 | 134,422 | u015314247 | cpp |
p02363 | #include <bits/stdc++.h>
using namespace std;
int const MAX_E = 100;
int const INF = INT_MAX;
int edge[MAX_E][MAX_E];
int main() {
int V, E;
cin >> V >> E;
fill(edge[0], edge[MAX_E], INF);
for (int i = 0; i < V; i++)
edge[i][i] = 0;
for (int i = 0; i < E; i++) {
int s, t, d;
cin >> s >> t ... | #include <bits/stdc++.h>
using namespace std;
int const MAX_E = 100;
int const INF = INT_MAX;
int edge[MAX_E][MAX_E];
int main() {
int V, E;
cin >> V >> E;
fill(edge[0], edge[MAX_E], INF);
for (int i = 0; i < V; i++)
edge[i][i] = 0;
for (int i = 0; i < E; i++) {
int s, t, d;
cin >> s >> t ... | [
"call.add",
"call.exit0.add"
] | 134,430 | 134,431 | u228816757 | cpp |
p02377 | #include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < ((int)b); ++i)
#define RFOR(i, a) for (int i = (a); i >= 0; --i)
#define FOE(i, a) for (auto i : a)
#define ALL(c) (c).begin(), (c).end()
#define RALL(c) (c).rbegin(), (c).rend()
#define DUMP(x) cerr << #x << " = " << (x) << endl;
#define SUM(x) std::... | #include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < ((int)b); ++i)
#define RFOR(i, a) for (int i = (a); i >= 0; --i)
#define FOE(i, a) for (auto i : a)
#define ALL(c) (c).begin(), (c).end()
#define RALL(c) (c).rbegin(), (c).rend()
#define DUMP(x) cerr << #x << " = " << (x) << endl;
#define SUM(x) std::... | [
"expression.operation.unary.add"
] | 134,446 | 134,447 | u119127920 | cpp |
p02377 | #include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < ((int)b); ++i)
#define RFOR(i, a) for (int i = (a); i >= 0; --i)
#define FOE(i, a) for (auto i : a)
#define ALL(c) (c).begin(), (c).end()
#define RALL(c) (c).rbegin(), (c).rend()
#define DUMP(x) cerr << #x << " = " << (x) << endl;
#define SUM(x) std::... | #include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < ((int)b); ++i)
#define RFOR(i, a) for (int i = (a); i >= 0; --i)
#define FOE(i, a) for (auto i : a)
#define ALL(c) (c).begin(), (c).end()
#define RALL(c) (c).rbegin(), (c).rend()
#define DUMP(x) cerr << #x << " = " << (x) << endl;
#define SUM(x) std::... | [
"expression.operator.change"
] | 134,448 | 134,449 | u119127920 | cpp |
p02377 | #include <algorithm>
#include <iostream>
#include <queue>
#include <vector>
using namespace std;
static const int MAX_V = 110;
static const int INF = (1 << 30);
typedef pair<int, int> P;
struct edge {
int to, cap, cost, rev;
};
int V;
vector<edge> G[MAX_V];
int h[MAX_V], dist[MAX_V], prevv[MAX_V], preve[MAX_V];
... | #include <algorithm>
#include <iostream>
#include <queue>
#include <vector>
using namespace std;
static const int MAX_V = 110;
static const int INF = (1 << 30);
typedef pair<int, int> P;
struct edge {
int to, cap, cost, rev;
};
int V;
vector<edge> G[MAX_V];
int h[MAX_V], dist[MAX_V], prevv[MAX_V], preve[MAX_V];
... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 134,450 | 134,451 | u435512592 | cpp |
p02377 | #include <algorithm>
#include <queue>
#include <stdio.h>
#include <vector>
using namespace std;
namespace MCF {
const int MAXN = 120;
const int MAXM = 2100;
int to[MAXM];
int next[MAXM];
int first[MAXN];
int c[MAXM];
long long w[MAXM];
long long pot[MAXN];
int rev[MAXM];
long long ijk[MAXN];
int v[MAXN];
long long toc;... | #include <algorithm>
#include <queue>
#include <stdio.h>
#include <vector>
using namespace std;
namespace MCF {
const int MAXN = 120;
const int MAXM = 2100;
int to[MAXM];
int next[MAXM];
int first[MAXN];
int c[MAXM];
long long w[MAXM];
long long pot[MAXN];
int rev[MAXM];
long long ijk[MAXN];
int v[MAXN];
long long toc;... | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 134,466 | 134,465 | u676399799 | cpp |
p02377 | #include <algorithm>
#include <queue>
#include <stdio.h>
#include <vector>
using namespace std;
namespace MCF {
const int MAXN = 120;
const int MAXM = 2100;
int to[MAXM];
int next[MAXM];
int first[MAXN];
int c[MAXM];
long long w[MAXM];
long long pot[MAXN];
int rev[MAXM];
long long ijk[MAXN];
int v[MAXN];
long long toc;... | #include <algorithm>
#include <queue>
#include <stdio.h>
#include <vector>
using namespace std;
namespace MCF {
const int MAXN = 120;
const int MAXM = 2100;
int to[MAXM];
int next[MAXM];
int first[MAXN];
int c[MAXM];
long long w[MAXM];
long long pot[MAXN];
int rev[MAXM];
long long ijk[MAXN];
int v[MAXN];
long long toc;... | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 134,467 | 134,465 | u676399799 | cpp |
p02377 | #include <algorithm>
#include <iostream>
#include <queue>
#include <vector>
#define MAX 101
#define inf 1 << 29
using namespace std;
typedef pair<int, int> P;
struct edge {
int to, cap, cost, rev;
};
int v;
vector<edge> e[MAX];
int h[MAX];
int dist[MAX];
int prevv[MAX], preve[MAX];
void add_edge(int from, int to,... | #include <algorithm>
#include <iostream>
#include <queue>
#include <vector>
#define MAX 101
#define inf 1 << 29
using namespace std;
typedef pair<int, int> P;
struct edge {
int to, cap, cost, rev;
};
int v;
vector<edge> e[MAX];
int h[MAX];
int dist[MAX];
int prevv[MAX], preve[MAX];
void add_edge(int from, int to,... | [
"identifier.replace.remove",
"literal.replace.add",
"call.arguments.change",
"expression.operation.unary.add"
] | 134,468 | 134,469 | u064467943 | cpp |
p02377 | #include "bits/stdc++.h"
using namespace std;
//?????????
#pragma region MACRO
#define putans(x) \
std::cerr << "[ answer ]: "; \
cout << (x) << endl
#define dputans(x) ... | #include "bits/stdc++.h"
using namespace std;
//?????????
#pragma region MACRO
#define putans(x) \
std::cerr << "[ answer ]: "; \
cout << (x) << endl
#define dputans(x) ... | [
"variable_declaration.value.change",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.for.initializer.change"
] | 134,470 | 134,471 | u832114536 | cpp |
p02377 | #include <bits/stdc++.h>
using namespace std;
#define MAX_V 10000
#define INF 1000000001
typedef pair<int, int> P;
struct edge {
int to, cap, cost, rev;
};
int V;
vector<edge> G[MAX_V];
int h[MAX_V];
int dist[MAX_V];
int prevv[MAX_V], preve[MAX_V];
void init_edge() {
for (int i = 0; i < V; i++)
G[i].clear();
}
... | #include <bits/stdc++.h>
using namespace std;
#define MAX_V 10000
#define INF 1000000001
typedef pair<int, int> P;
struct edge {
int to, cap, cost, rev;
};
int V;
vector<edge> G[MAX_V];
int h[MAX_V];
int dist[MAX_V];
int prevv[MAX_V], preve[MAX_V];
void init_edge() {
for (int i = 0; i < V; i++)
G[i].clear();
}
... | [] | 134,477 | 134,476 | u962041986 | cpp |
p02377 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstdio>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstdio>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include... | [
"variable_declaration.value.change",
"identifier.change"
] | 134,478 | 134,479 | u858885710 | cpp |
p02377 |
#include <bits/stdc++.h>
#define VARNAME(x) #x
#define show(x) cerr << #x << " = " << x << endl
using namespace std;
using ll = long long;
using ld = long double;
template <typename T> ostream &operator<<(ostream &os, const vector<T> &v) {
os << "sz=" << v.size() << "\n[";
for (const auto &p : v) {
os << p ... |
#include <bits/stdc++.h>
#define VARNAME(x) #x
#define show(x) cerr << #x << " = " << x << endl
using namespace std;
using ll = long long;
using ld = long double;
template <typename T> ostream &operator<<(ostream &os, const vector<T> &v) {
os << "sz=" << v.size() << "\n[";
for (const auto &p : v) {
os << p ... | [
"variable_declaration.type.primitive.change",
"control_flow.return.add"
] | 134,482 | 134,483 | u580955605 | cpp |
p02378 | #include <algorithm>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
#define INF 100000000
#define... | #include <algorithm>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
#define INF 100000000
#define... | [
"preprocessor.define.value.change",
"literal.integer.change",
"identifier.replace.remove",
"literal.replace.add",
"call.arguments.change",
"identifier.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 134,619 | 134,620 | u642922430 | cpp |
p02378 | #include <iostream>
#include <vector>
using namespace std;
const int MAX_V = 205;
vector<int> G[MAX_V];
vector<int> match(MAX_V);
vector<bool> used(MAX_V);
void add_edge(const int &u, const int &v) {
G[u].emplace_back(v);
G[v].emplace_back(u);
}
bool dfs(const int &v) {
used[v] = true;
for (int i = 0; i < G... | #include <iostream>
#include <vector>
using namespace std;
const int MAX_V = 205;
vector<int> G[MAX_V];
vector<int> match(MAX_V);
vector<bool> used(MAX_V);
void add_edge(const int &u, const int &v) {
G[u].emplace_back(v);
G[v].emplace_back(u);
}
bool dfs(const int &v) {
used[v] = true;
for (int i = 0; i < G... | [
"expression.operation.binary.remove"
] | 134,630 | 134,631 | u192037914 | cpp |
p02378 | #include <cstring>
#include <iostream>
#include <vector>
using namespace std;
vector<int> list[100000];
int N, M, E;
int match[100000];
bool used[100000];
int x, y;
bool DFS(int V) {
used[V] = true;
for (int i = 0; i < list[V].size(); i++) {
int u = list[V][i];
int w = match[u];
if (w < 0 || !used[u] &... | #include <cstring>
#include <iostream>
#include <vector>
using namespace std;
vector<int> list[100000];
int N, M, E;
int match[100000];
bool used[100000];
int x, y;
bool DFS(int V) {
used[V] = true;
for (int i = 0; i < list[V].size(); i++) {
int u = list[V][i];
int w = match[u];
if (w < 0 || !used[w] &... | [
"identifier.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 134,634 | 134,635 | u852311840 | cpp |
p02378 | // Created by Vignesh Manoharan
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int... | // Created by Vignesh Manoharan
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int... | [
"call.arguments.change"
] | 134,636 | 134,637 | u338335545 | cpp |
p02378 | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define all(a) (a).begin(), (a).end()
#define vi vector<int>
#define pb push_back
#define INF 999999999
//#define INF (1LL<<59)
//?????§2??¨??????????????° verified AOJ GRL... | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define all(a) (a).begin(), (a).end()
#define vi vector<int>
#define pb push_back
#define INF 999999999
//#define INF (1LL<<59)
//?????§2??¨??????????????° verified AOJ GRL... | [
"io.output.change"
] | 134,638 | 134,639 | u542962065 | cpp |
p02378 | #include <bits/stdc++.h>
#define INF 1000000000
#define MAX_V 202
#define MAX_E 1000
using namespace std;
struct edge {
int to, cap, rev;
edge(int to_, int cap_, int rev_) : to(to_), cap(cap_), rev(rev_){};
};
int V, E;
vector<edge> G[MAX_V];
int level[MAX_V];
int iter[MAX_V];
void AddEdge(int from, int to, int c... | #include <bits/stdc++.h>
#define INF 1000000000
#define MAX_V 202
#define MAX_E 1000
using namespace std;
struct edge {
int to, cap, rev;
edge(int to_, int cap_, int rev_) : to(to_), cap(cap_), rev(rev_){};
};
int V, E;
vector<edge> G[MAX_V];
int level[MAX_V];
int iter[MAX_V];
void AddEdge(int from, int to, int c... | [
"expression.operation.binary.add"
] | 134,640 | 134,641 | u527286045 | cpp |
p02378 | #include <bits/stdc++.h>
#define INF 1000000000
#define MAX_V 202
#define MAX_E 1000
using namespace std;
struct edge {
int to, cap, rev;
edge(int to_, int cap_, int rev_) : to(to_), cap(cap_), rev(rev_){};
};
int V, E;
vector<edge> G[MAX_V];
int level[MAX_V];
int iter[MAX_V];
void AddEdge(int from, int to, int c... | #include <bits/stdc++.h>
#define INF 1000000000
#define MAX_V 202
#define MAX_E 1000
using namespace std;
struct edge {
int to, cap, rev;
edge(int to_, int cap_, int rev_) : to(to_), cap(cap_), rev(rev_){};
};
int V, E;
vector<edge> G[MAX_V];
int level[MAX_V];
int iter[MAX_V];
void AddEdge(int from, int to, int c... | [
"expression.operation.binary.add"
] | 134,642 | 134,641 | u527286045 | cpp |
p02378 | #include "bits/stdc++.h"
#include <fstream>
#include <sys/timeb.h>
using namespace std;
#define repl(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define rep(i, n) repl(i, 0, n)
#define replrev(i, a, b) for (int i = (int)(b)-1; i >= (int)(a); i--)
#define reprev(i, n) replrev(i, 0, n)
#define repi(itr, ds) for ... | #include "bits/stdc++.h"
#include <fstream>
#include <sys/timeb.h>
using namespace std;
#define repl(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define rep(i, n) repl(i, 0, n)
#define replrev(i, a, b) for (int i = (int)(b)-1; i >= (int)(a); i--)
#define reprev(i, n) replrev(i, 0, n)
#define repi(itr, ds) for ... | [
"preprocessor.define.value.change",
"literal.integer.change"
] | 134,662 | 134,663 | u822035448 | cpp |
p02378 | #include <bitset>
#include <stdio.h>
#include <utility>
#include <vector>
using namespace std;
typedef vector<int> vi;
typedef vector<pair<int, int>> vpi;
typedef pair<int, int> pi;
#define R return
#define W while
#define FOR(i, a) for (int i = 0; i < a; i++)
#define MP make_pair
#define PB push_back
#define F first
#... | #include <bitset>
#include <stdio.h>
#include <utility>
#include <vector>
using namespace std;
typedef vector<int> vi;
typedef vector<pair<int, int>> vpi;
typedef pair<int, int> pi;
#define R return
#define W while
#define FOR(i, a) for (int i = 0; i < a; i++)
#define MP make_pair
#define PB push_back
#define F first
#... | [
"literal.string.change",
"call.arguments.change"
] | 134,670 | 134,671 | u048151615 | cpp |
p02378 | #include <algorithm>
#include <array>
#include <cstdio>
#include <functional>
#include <iostream>
#include <list>
#include <numeric>
#include <queue>
#include <sstream>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define _USE_MATH_DEFINES
#include <map>
#include <math.h>
#define INF 200000... | #include <algorithm>
#include <array>
#include <cstdio>
#include <functional>
#include <iostream>
#include <list>
#include <numeric>
#include <queue>
#include <sstream>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define _USE_MATH_DEFINES
#include <map>
#include <math.h>
#define INF 200000... | [
"control_flow.branch.if.condition.change"
] | 134,672 | 134,673 | u456512109 | cpp |
p02379 | #include <bits/stdc++.h>
#include <cmath>
#include <iostream>
using namespace std;
int main() {
int x1, x2, y1, y2;
double ans, sax, say;
cin >> x1 >> y1 >> x2 >> y2;
sax = x1 - x2;
say = y1 - y2;
sax = pow(sax, 2);
say = pow(say, 2);
ans = sqrt(sax + say);
cout << setprecision(12) << ans << endl;
r... | #include <bits/stdc++.h>
#include <cmath>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2;
double ans, sax, say;
cin >> x1 >> y1 >> x2 >> y2;
sax = x1 - x2;
say = y1 - y2;
sax = pow(sax, 2);
say = pow(say, 2);
ans = sqrt(sax + say);
cout << setprecision(12) << ans << endl;
... | [
"variable_declaration.type.primitive.change"
] | 134,713 | 134,714 | u826160136 | cpp |
p02379 | #include <bits/stdc++.h>
#include <cmath>
#include <iostream>
using namespace std;
int main() {
int x1, x2, y1, y2;
double ans, sax, say;
cin >> x1 >> y1 >> x2 >> y2;
sax = x1 - x2;
say = y1 - y2;
sax = pow(sax, 2);
say = pow(say, 2);
ans = sqrt(sax + say);
cout << setprecision(10) << ans << endl;
r... | #include <bits/stdc++.h>
#include <cmath>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2;
double ans, sax, say;
cin >> x1 >> y1 >> x2 >> y2;
sax = x1 - x2;
say = y1 - y2;
sax = pow(sax, 2);
say = pow(say, 2);
ans = sqrt(sax + say);
cout << setprecision(12) << ans << endl;
... | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"io.output.change"
] | 134,715 | 134,714 | u826160136 | cpp |
p02379 | #include <bits/stdc++.h>
#include <cmath>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2;
double ans, sax, say;
cin >> x1 >> y1 >> x2 >> y2;
sax = x1 - x2;
say = y1 - y2;
sax = pow(sax, 2);
say = pow(say, 2);
ans = sqrt(sax + say);
cout << ans << endl;
return 0;
}
| #include <bits/stdc++.h>
#include <cmath>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2;
double ans, sax, say;
cin >> x1 >> y1 >> x2 >> y2;
sax = x1 - x2;
say = y1 - y2;
sax = pow(sax, 2);
say = pow(say, 2);
ans = sqrt(sax + say);
cout << setprecision(12) << ans << endl;
... | [
"io.output.change"
] | 134,716 | 134,714 | u826160136 | cpp |
p02379 | #include <cmath>
#include <cstdio>
int main() {
double x1, y1, x2, y2, d, dx, dy;
scanf("%d", &x1);
scanf("%d", &y1);
scanf("%d", &x2);
scanf("%d", &y2);
dx = x1 - x2;
dy = y1 - y2;
d = sqrt(dx * dx + dy * dy);
printf("%.5lf", d);
return 0;
} | #include <cmath>
#include <cstdio>
int main() {
double x1, y1, x2, y2, d, dx, dy;
scanf("%lf", &x1);
scanf("%lf", &y1);
scanf("%lf", &x2);
scanf("%lf", &y2);
dx = x1 - x2;
dy = y1 - y2;
d = sqrt(dx * dx + dy * dy);
printf("%.5lf", d);
return 0;
} | [
"literal.string.change",
"call.arguments.change"
] | 134,717 | 134,718 | u648595971 | cpp |
p02379 | #include <cmath>
#include <iostream>
using namespace std;
int main(void) {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << sqrt(pow(x1 - x2, 2.0) + pow(y1 - y2, 2.0));
return 0;
} | #include <cmath>
#include <iostream>
using namespace std;
int main(void) {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << sqrt(pow(x1 - x2, 2.0) + pow(y1 - y2, 2.0));
return 0;
} | [
"io.output.change"
] | 134,719 | 134,720 | u912237403 | cpp |
p02379 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <ctype.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#includ... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <ctype.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#includ... | [
"io.output.change"
] | 134,723 | 134,724 | u041086527 | cpp |
p02379 | #include <cmath>
#include <iomanip>
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
using std::fixed;
using std::setprecision;
int main() {
int x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << setprecision(8);
cout << sqrt(pow((x2 - x1), 2) + pow((y2 - y1), 2)) << endl;
ret... | #include <cmath>
#include <iomanip>
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
using std::fixed;
using std::setprecision;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << setprecision(8);
cout << sqrt(pow((x2 - x1), 2) + pow((y2 - y1), 2)) << endl;
... | [
"variable_declaration.type.primitive.change"
] | 134,725 | 134,726 | u444165043 | cpp |
p02379 | #include <algorithm>
#include <bitset>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include ... | #include <algorithm>
#include <bitset>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include ... | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 134,727 | 134,728 | u063140784 | cpp |
p02379 | #include <algorithm>
#include <bitset>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include ... | #include <algorithm>
#include <bitset>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include ... | [
"variable_declaration.type.primitive.change"
] | 134,729 | 134,728 | u063140784 | cpp |
p02379 | #include <iostream>
using namespace std;
#include <cstdio>
#include <math.h>
int main() {
double dis = 0.0;
int x1, x2, y1, y2, f = 0;
cin >> x1 >> y1 >> x2 >> y2;
if (x1 >= x2 && y1 >= y2)
f = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2);
else if (x1 <= x2 && y1 <= y2)
f = (x2 - x1) * (x2 - x1) +... | #include <iostream>
using namespace std;
#include <cstdio>
#include <math.h>
int main() {
double dis = 0.0, x1, x2, y1, y2, f = 0.0;
cin >> x1 >> y1 >> x2 >> y2;
if (x1 >= x2 && y1 >= y2)
f = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2);
else if (x1 <= x2 && y1 <= y2)
f = (x2 - x1) * (x2 - x1) + (y2... | [
"literal.number.change",
"variable_declaration.value.change"
] | 134,730 | 134,731 | u623167544 | cpp |
p02379 | #include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
double result = sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
printf("%.8f\n", result);
return 0;
} | #include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
double result = sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
printf("%.8f\n", result);
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 134,732 | 134,733 | u035708723 | cpp |
p02379 | #include <cmath>
#include <cstdio>
int main(void) {
float x1, y1, x2, y2;
scanf("%lf%lf%lf%lf", &x1, &y1, &x2, &y2);
printf("%f\n", sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)));
return (0);
}
| #include <cmath>
#include <cstdio>
int main(void) {
double x1, y1, x2, y2;
scanf("%lf%lf%lf%lf", &x1, &y1, &x2, &y2);
printf("%f\n", sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)));
return (0);
}
| [
"variable_declaration.type.primitive.change"
] | 134,745 | 134,746 | u226463342 | cpp |
p02379 | #include <bits/stdc++.h>
using std::cin;
using std::cout;
using std::endl;
int main() {
long long x1, y1, x2, y2;
double d;
cin >> x1 >> y1 >> x2 >> y2;
d = (double)sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2));
cout << std::fixed << std::setprecision(8) << d << endl;
return 0;
}
| #include <bits/stdc++.h>
using std::cin;
using std::cout;
using std::endl;
int main() {
double x1, y1, x2, y2;
double d;
cin >> x1 >> y1 >> x2 >> y2;
d = sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2));
cout << std::fixed << std::setprecision(8) << d << endl;
return 0;
}
| [
"variable_declaration.type.primitive.change",
"variable_declaration.type.narrow.change"
] | 134,747 | 134,748 | u669826458 | cpp |
p02379 | #include <cmath>
#include <cstdio>
using namespace std;
int main(void) {
double x1, y1, x2, y2;
scanf("%lf %lf %lf %lf", &x1, &y2, &x2, &y2);
printf("%0lf\n", sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)));
return 0;
}
| #include <cmath>
#include <cstdio>
using namespace std;
int main(void) {
double x1, y1, x2, y2;
scanf("%lf %lf %lf %lf", &x1, &y1, &x2, &y2);
printf("%0lf\n", sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)));
return 0;
}
| [
"identifier.change",
"call.arguments.change"
] | 134,749 | 134,750 | u247371045 | cpp |
p02379 | #include <bits/stdc++.h>
using namespace std;
int main() {
long x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
long x = (x1 - x2);
long y = (y1 - y2);
double l = sqrt(x * x + y * y);
printf("%.8f\n", l);
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double x = (x1 - x2);
double y = (y1 - y2);
double l = sqrt(x * x + y * y);
printf("%.8f\n", l);
}
| [
"variable_declaration.type.primitive.change"
] | 134,751 | 134,752 | u050848146 | cpp |
p02379 | #include <cstdio>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
int x1, x2, y1, y2;
double ans;
cin >> x1 >> x2 >> y1 >> y2;
ans = sqrt(((x1 - y1) * (x1 - y1) + (x2 - y2) * (x2 - y2)));
printf("%fl5\n", ans);
return 0;
}
| #include <cstdio>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
double x1, x2, y1, y2;
double ans;
cin >> x1 >> x2 >> y1 >> y2;
ans = sqrt(((x1 - y1) * (x1 - y1) + (x2 - y2) * (x2 - y2)));
printf("%8lf\n", ans);
return 0;
}
| [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 134,755 | 134,756 | u224956920 | cpp |
p02379 | #include <cstdio>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
int x1, x2, y1, y2;
double ans;
cin >> x1 >> x2 >> y1 >> y2;
ans = sqrt(((x1 - y1) * (x1 - y1) + (x2 - y2) * (x2 - y2)));
printf("%8lf\n", ans);
return 0;
}
| #include <cstdio>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
double x1, x2, y1, y2;
double ans;
cin >> x1 >> x2 >> y1 >> y2;
ans = sqrt(((x1 - y1) * (x1 - y1) + (x2 - y2) * (x2 - y2)));
printf("%8lf\n", ans);
return 0;
}
| [
"variable_declaration.type.primitive.change"
] | 134,757 | 134,756 | u224956920 | cpp |
p02379 | #include <cmath>
#include <iostream>
using namespace std;
int main(void) {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << sqrt(pow(fabs(x1 - x2), 2) + pow(fabs(y1 - y2), 2)) << endl;
return 0;
}
| #include <cmath>
#include <iostream>
using namespace std;
int main(void) {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << sqrt(pow(fabs(x1 - x2), 2) + pow(fabs(y1 - y2), 2)) << endl;
return 0;
}
| [
"io.output.change"
] | 134,762 | 134,763 | u342628608 | cpp |
p02379 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <numeric>
#include <vector>
using namespace std;
int main() {
int x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double dis;
dis = sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
printf("%f10\n", dis);
}
| #include <algorithm>
#include <cmath>
#include <iostream>
#include <numeric>
#include <vector>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double dis;
dis = sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
printf("%f10\n", dis);
}
| [
"variable_declaration.type.primitive.change"
] | 134,764 | 134,765 | u539796523 | cpp |
p02379 | #include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
long double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1)) << endl;
}
| #include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1)) << endl;
}
| [
"variable_declaration.type.narrow.change",
"io.output.change"
] | 134,766 | 134,767 | u834076475 | cpp |
p02379 | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
main() {
int x1, y1, x2, y2, x = 0, y = 0;
double kekka;
cin >> x1 >> y1 >> x2 >> y2;
x = x2 - x1;
y = y2 - y1;
kekka = (double)sqrt(x * x + y * y);
printf("%.8f\n", kekka);
} | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
main() {
double x1, y1, x2, y2, x = 0, y = 0;
double kekka;
cin >> x1 >> y1 >> x2 >> y2;
x = x2 - x1;
y = y2 - y1;
kekka = sqrt(x * x + y * y);
printf("%.8f\n", kekka);
} | [
"variable_declaration.type.primitive.change"
] | 134,768 | 134,769 | u797898653 | cpp |
p02379 | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
main() {
int x1, y1, x2, y2, x = 0, y = 0;
double kekka;
cin >> x1 >> y1 >> x2 >> y2;
x = x2 - x1;
y = y2 - y1;
kekka = sqrt(x * x + y * y);
printf("%.8f\n", kekka);
} | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
main() {
double x1, y1, x2, y2, x = 0, y = 0;
double kekka;
cin >> x1 >> y1 >> x2 >> y2;
x = x2 - x1;
y = y2 - y1;
kekka = sqrt(x * x + y * y);
printf("%.8f\n", kekka);
} | [
"variable_declaration.type.primitive.change"
] | 134,770 | 134,769 | u797898653 | cpp |
p02379 | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
main() {
int x1, y1, x2, y2, x, y;
double kekka;
cin >> x1 >> y1 >> x2 >> y2;
x = x2 - x1;
y = y2 - y1;
kekka = sqrt(x * x + y * y);
printf("%.8f\n", kekka);
} | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
main() {
double x1, y1, x2, y2, x = 0, y = 0;
double kekka;
cin >> x1 >> y1 >> x2 >> y2;
x = x2 - x1;
y = y2 - y1;
kekka = sqrt(x * x + y * y);
printf("%.8f\n", kekka);
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.value.change"
] | 134,772 | 134,769 | u797898653 | cpp |
p02379 | #define _CRT_SECURE_NO_WARNINGS
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <list>
#include <queue>
#include <string>
#include <utility>
#include <vector>
#define INF 2147483647
using namespace std;
int main() {
double x1, y1, x2, y2;
... | #define _CRT_SECURE_NO_WARNINGS
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <list>
#include <queue>
#include <string>
#include <utility>
#include <vector>
#define INF 2147483647
using namespace std;
int main() {
double x1, y1, x2, y2;
... | [
"io.output.change",
"identifier.change"
] | 134,779 | 134,780 | u010602807 | cpp |
p02379 | #include <iostream>
#include <math.h>
#include <stdio.h>
#include <string.h>
using namespace std;
int main() {
int x1, y1, x2, y2;
int r2;
cin >> x1 >> y1 >> x2 >> y2;
r2 = (x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1);
printf("%.8f\n", sqrt((double)r2));
return 0;
} | #include <iostream>
#include <math.h>
#include <stdio.h>
#include <string.h>
using namespace std;
int main() {
double x1, y1, x2, y2;
double r2;
cin >> x1 >> y1 >> x2 >> y2;
r2 = (x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1);
printf("%.8f\n", sqrt((double)r2));
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 134,785 | 134,786 | u813534019 | cpp |
p02379 | // 2???????????¢????±???????????????°??????
// x1,x2,y1,y2????????????????????§????????????
// sample input 0 0 1 1
// sample output 1.41421356
#include <cmath>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << sqrt(pow(y1 - x1, 2) + po... | // 2???????????¢????±???????????????°??????
// x1,x2,y1,y2????????????????????§????????????
// sample input 0 0 1 1
// sample output 1.41421356
#include <cmath>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << sqrt(pow(x2 - x1, 2) + po... | [
"identifier.change",
"io.output.change"
] | 134,881 | 134,882 | u410468809 | cpp |
p02379 | // 2???????????¢????±???????????????°??????
// x1,x2,y1,y2????????????????????§????????????
// sample input 0 0 1 1
// sample output 1.41421356
#include <cmath>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << sqrt(pow(x2 - x1, 2) + po... | // 2???????????¢????±???????????????°??????
// x1,x2,y1,y2????????????????????§????????????
// sample input 0 0 1 1
// sample output 1.41421356
#include <cmath>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << sqrt(pow(x2 - x1, 2) + po... | [
"identifier.change",
"io.output.change"
] | 134,883 | 134,882 | u410468809 | cpp |
p02379 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double n = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
printf("%f/n", n);
return 0;
} | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double n = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
printf("%f\n", n);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 134,884 | 134,885 | u806178009 | cpp |
p02379 | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
int x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
int x = fabs(x2 - x1);
int y = fabs(y2 - y1);
cout << fixed << setprecision(4) << sqrt(x * x + y * y) << endl;
return 0;
} | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double x = fabs(x2 - x1);
double y = fabs(y2 - y1);
cout << fixed << setprecision(4) << sqrt(x * x + y * y) << endl;
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 134,886 | 134,887 | u272156029 | cpp |
p02379 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
struct point {
int x;
int y;
};
int main() {
point p1, p2;
cin >> p1.x >> p1.y >> p2.x >> p2.y;
double distance =
sqrt((p1.x - p2.x) * (p1.x - p2.x) + (p1.y - p2.y) * (p1.y - p2.y));
printf("%.5f\n", distance);
return... | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
struct point {
double x;
double y;
};
int main() {
point p1, p2;
cin >> p1.x >> p1.y >> p2.x >> p2.y;
double distance =
sqrt((p1.x - p2.x) * (p1.x - p2.x) + (p1.y - p2.y) * (p1.y - p2.y));
printf("%.6f\n", distance);
... | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 134,888 | 134,889 | u651566573 | cpp |
p02379 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
struct point {
int x;
int y;
};
int main() {
point p1, p2;
cin >> p1.x >> p1.y >> p2.x >> p2.y;
double distance =
sqrt((p1.x - p2.x) * (p1.x - p2.x) + (p1.y - p2.y) * (p1.y - p2.y));
printf("%.6f\n", distance);
return... | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
struct point {
double x;
double y;
};
int main() {
point p1, p2;
cin >> p1.x >> p1.y >> p2.x >> p2.y;
double distance =
sqrt((p1.x - p2.x) * (p1.x - p2.x) + (p1.y - p2.y) * (p1.y - p2.y));
printf("%.6f\n", distance);
... | [
"variable_declaration.type.primitive.change"
] | 134,890 | 134,889 | u651566573 | cpp |
p02379 | #include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
printf("%f\n", sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1)));
return 0;
} | #include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
printf("%f\n", sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1)));
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 134,896 | 134,897 | u284652320 | cpp |
p02379 | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
void Solution() {
int x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << setprecision(5) << sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1))
<< endl;
}
int main() {
Solution();
return 0;
} | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
void Solution() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << setprecision(5)
<< sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1)) << endl;
}
int main() {
Solution();
return 0;
} | [
"variable_declaration.type.primitive.change",
"io.output.change"
] | 134,898 | 134,899 | u291112626 | cpp |
p02379 | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
void Solution() {
float x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << setprecision(5) << sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1))
<< endl;
}
int main() {
Solution();
return 0;
} | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
void Solution() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << setprecision(5)
<< sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1)) << endl;
}
int main() {
Solution();
return 0;
} | [
"variable_declaration.type.primitive.change",
"io.output.change"
] | 134,900 | 134,899 | u291112626 | cpp |
p02379 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int x1, y1, x2, y2, d;
cin >> x1 >> y1 >> x2 >> y2;
d = sqrt(pow(x2 - x1, 2) + pow(y2 - y1, 2));
cout << fixed << setprecision(15) << d << endl;
return 0;
} | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x1, y1, x2, y2, d;
cin >> x1 >> y1 >> x2 >> y2;
d = sqrt(pow(x2 - x1, 2) + pow(y2 - y1, 2));
cout << fixed << setprecision(15) << d << endl;
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 134,902 | 134,903 | u823513038 | cpp |
p02379 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
double r = sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2));
// cout << r << endl;
printf("%.8f", r);
cout << endl;
return 0;
} | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
double r = sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2));
// cout << r << endl;
printf("%.8f", r);
cout << endl;
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 134,906 | 134,907 | u147878192 | cpp |
p02379 | #define _USE_MATH_DEFINES
#include <cctype>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
#define rep(i, start, n) for (int i = start; i < n; i++)
#define And &&
#define Or ||
#define Lb cout << endl
using namespace std;
int main(void) {
int x1, x2, y1,... | #define _USE_MATH_DEFINES
#include <cctype>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
#define rep(i, start, n) for (int i = start; i < n; i++)
#define And &&
#define Or ||
#define Lb cout << endl
using namespace std;
int main(void) {
double x1, x2, ... | [
"variable_declaration.type.primitive.change"
] | 134,908 | 134,909 | u267238909 | cpp |
p02379 | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
int x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
printf("%llf\n", sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)));
return 0;
} | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
printf("%f\n", sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)));
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 134,912 | 134,913 | u566392363 | cpp |
p02379 | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
printf("%llf\n", sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)));
return 0;
} | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
printf("%f\n", sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)));
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 134,914 | 134,913 | u566392363 | cpp |
p02379 | #include <cmath>
#include <iostream>
#include <stdio.h>
int main(void) {
int x1 = 0;
int y1 = 0;
int x2 = 0;
int y2 = 0;
std::cin >> x1 >> y1 >> x2 >> y2;
double r = std::sqrt(std::pow(x2 - x1, 2.0) + std::pow(y2 - y1, 2.0));
printf("%.8f\n", r);
return 0;
} | #include <cmath>
#include <iostream>
#include <stdio.h>
int main(void) {
double x1 = 0;
double y1 = 0;
double x2 = 0;
double y2 = 0;
std::cin >> x1 >> y1 >> x2 >> y2;
double r = std::sqrt(std::pow(x2 - x1, 2.0) + std::pow(y2 - y1, 2.0));
printf("%.8f\n", r);
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 134,915 | 134,916 | u212165333 | cpp |
p02379 | #include <cmath>
#include <iostream>
#include <stdio.h>
int main(void) {
int x1 = 0;
int y1 = 0;
int x2 = 0;
int y2 = 0;
std::cin >> x1 >> y1 >> x2 >> y2;
double r = std::sqrt(std::pow(x2 - x1, 2.0) + std::pow(y2 - y1, 2.0));
printf("%.16f\n", r);
return 0;
} | #include <cmath>
#include <iostream>
#include <stdio.h>
int main(void) {
double x1 = 0;
double y1 = 0;
double x2 = 0;
double y2 = 0;
std::cin >> x1 >> y1 >> x2 >> y2;
double r = std::sqrt(std::pow(x2 - x1, 2.0) + std::pow(y2 - y1, 2.0));
printf("%.8f\n", r);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 134,917 | 134,916 | u212165333 | cpp |
p02379 | #include <iostream>
#include <math.h>
using namespace std;
class Point {
private:
double x;
double y;
public:
void setX(double x);
void setY(double y);
double getX();
double getY();
};
void Point::setX(double a) { x = a; }
void Point::setY(double a) { y = a; }
double Point::getX() { return x; }
doubl... | #include <iostream>
#include <math.h>
using namespace std;
class Point {
private:
double x;
double y;
public:
void setX(double x);
void setY(double y);
double getX();
double getY();
};
void Point::setX(double a) { x = a; }
void Point::setY(double a) { y = a; }
double Point::getX() { return x; }
doubl... | [
"io.output.change"
] | 134,918 | 134,919 | u490245276 | cpp |
p02379 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> setprecision(6) >> x1;
cin >> setprecision(6) >> y1;
cin >> setprecision(6) >> x2;
cin >> setprecision(6) >> y2;
cout << setprecision(6) << sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - ... | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> setprecision(10) >> x1;
cin >> setprecision(10) >> y1;
cin >> setprecision(10) >> x2;
cin >> setprecision(10) >> y2;
cout << setprecision(10)
<< sqrt((x1 - x2) * (x1 - x2) + (y1 - ... | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 134,922 | 134,923 | u835243363 | cpp |
p02379 | #include <cmath>
#include <iostream>
using namespace std;
int main() {
double a, b, c, d, x, y;
cin >> a >> b >> c >> d;
x = a - c;
x *= x;
y = b - d;
y *= y;
double z = sqrt(x + y);
cout << z << endl;
return 0;
} | #include <cmath>
#include <iostream>
using namespace std;
int main() {
double a, b, c, d, x, y;
cin >> a >> b >> c >> d;
x = a - c;
x *= x;
y = b - d;
y *= y;
double z = sqrt(x + y);
cout << fixed << z << endl;
return 0;
} | [
"io.output.change"
] | 134,924 | 134,925 | u613278035 | cpp |
p02379 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double d = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 = y2));
printf("%1f\n", d);
return 0;
} | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double d = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
printf("%1f\n", d);
return 0;
} | [
"call.arguments.change",
"expression.operation.binary.change"
] | 134,926 | 134,927 | u682843183 | cpp |
p02379 | #include <cmath>
#include <iostream>
#include <string>
using namespace std;
int main() {
int x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double result = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
cout << result << endl;
return 0;
} | #include <cmath>
#include <iostream>
#include <string>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double result = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
cout << fixed << result << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"io.output.change"
] | 134,928 | 134,929 | u972048028 | cpp |
p02379 | #include <cmath>
#include <iostream>
#include <string>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double result = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
cout << result << endl;
return 0;
} | #include <cmath>
#include <iostream>
#include <string>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double result = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
cout << fixed << result << endl;
return 0;
} | [
"io.output.change"
] | 134,930 | 134,929 | u972048028 | cpp |
p02379 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
#define REP(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define For(i, a, b) for (int(i) = (a); (i) < (b); (i)++)
int main() {
int x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double r = sqrt((x2 - x1... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
#define REP(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define For(i, a, b) for (int(i) = (a); (i) < (b); (i)++)
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double r = sqrt((x2 -... | [
"variable_declaration.type.primitive.change"
] | 134,931 | 134,932 | u956279155 | cpp |
p02379 | #include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
#define rep(i, start, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int x1 = 0, y1 = 0, x2 = 0, y2 = 0; //?????°??????
int ac = 0, bd = 0, abcd = 0;
double dist = 0;
cin >> x1 >> y1 >> x2 >> y2; //??\???
ac = (x... | #include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
#define rep(i, start, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
double x1 = 0, y1 = 0, x2 = 0, y2 = 0; //?????°??????
double ac = 0, bd = 0, abcd = 0;
double dist = 0;
cin >> x1 >> y1 >> x2 >> y2; //??\???
a... | [
"variable_declaration.type.primitive.change"
] | 134,933 | 134,934 | u859269713 | cpp |
p02379 | #include <cmath>
#include <iostream>
using namespace std;
int main() {
int x1, x2, y1, y2;
double dis;
cin >> x1 >> y1 >> x2 >> y2;
dis = sqrt(pow(x2 - x1, 2.0) + pow(y2 - y1, 2.0));
cout << fixed << dis << endl;
return 0;
} | #include <cmath>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2, dis;
cin >> x1 >> y1 >> x2 >> y2;
dis = sqrt(pow(x2 - x1, 2.0) + pow(y2 - y1, 2.0));
cout << fixed << dis << endl;
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 134,937 | 134,938 | u622377948 | cpp |
p02379 | #include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2, distance;
cin >> x1 >> y1 >> x1 >> y2;
distance = sqrt(pow(y1 - y2, 2.0) + pow(x1 - x2, 2.0));
printf("%.5f\n", distance);
return 0;
} | #include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2, distance;
cin >> x1 >> y1 >> x2 >> y2;
distance = sqrt(pow(y1 - y2, 2) + pow(x1 - x2, 2));
printf("%.5f\n", distance);
return 0;
} | [
"identifier.change",
"expression.operation.binary.change",
"literal.number.change",
"assignment.value.change",
"call.arguments.change"
] | 134,944 | 134,945 | u724565233 | cpp |
p02379 | #include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2, distance;
cin >> x1 >> y1 >> x1 >> y2;
distance = sqrt(pow(y1 - y2, 2) + pow(x1 - x2, 2));
printf("%.5f\n", distance);
return 0;
} | #include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x1, x2, y1, y2, distance;
cin >> x1 >> y1 >> x2 >> y2;
distance = sqrt(pow(y1 - y2, 2) + pow(x1 - x2, 2));
printf("%.5f\n", distance);
return 0;
} | [
"identifier.change",
"expression.operation.binary.change"
] | 134,946 | 134,945 | u724565233 | cpp |
p02379 | #include <iostream>
#include <math.h>
using namespace std;
int main() {
int x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
int a = x1 - x2;
int b = y1 - y2;
int c = a * a + b * b;
double d = sqrt(c);
cout << fixed << d << endl;
return 0;
} | #include <iostream>
#include <math.h>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
double a = x1 - x2;
double b = y1 - y2;
double c = a * a + b * b;
double d = sqrt(c);
cout << fixed << d << endl;
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 134,947 | 134,948 | u733596825 | cpp |
p02379 | #include <cmath>
#include <iomanip>
#include <iostream>
class Point {
public:
Point() { x = 0, y = 0; }
Point(double x, double y) { this->x = x, this->y = y; }
double getX() { return x; }
double getY() { return y; }
private:
double x, y;
};
int main(int argc, char const *argv[]) {
double x1, x2, y1, y2;
... | #include <cmath>
#include <iomanip>
#include <iostream>
class Point {
public:
Point() { x = 0, y = 0; }
Point(double x, double y) { this->x = x, this->y = y; }
double getX() { return x; }
double getY() { return y; }
private:
double x, y;
};
int main(int argc, char const *argv[]) {
double x1, x2, y1, y2;
... | [
"assignment.change"
] | 134,951 | 134,952 | u945379243 | cpp |
p02379 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double d = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
cout << fixed << setprecision(8) << d << "\n";
} | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
double d = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
cout << fixed << setprecision(8) << d << "\n";
} | [
"variable_declaration.type.primitive.change"
] | 134,953 | 134,954 | u557138543 | cpp |
p02379 | #include <cmath>
#include <iostream>
using namespace std;
int main(void) {
int x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)) << endl;
return 0;
} | #include <cmath>
#include <iostream>
using namespace std;
int main(void) {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)) << endl;
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 134,955 | 134,956 | u793923674 | cpp |
p02379 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)) << endl;
} | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)) << endl;
} | [
"variable_declaration.type.primitive.change"
] | 134,957 | 134,958 | u835844653 | cpp |
p02379 | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
long p1x, p1y, p2x, p2y, l;
cin >> p1x >> p1y >> p2x >> p2y;
l = pow((p2x - p1x), 2) + pow((p2y - p1y), 2);
l = sqrt(l);
cout << fixed << setprecision(4) << l << endl;
return 0;
} | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
double p1x, p1y, p2x, p2y, l;
cin >> p1x >> p1y >> p2x >> p2y;
l = pow((p2x - p1x), 2) + pow((p2y - p1y), 2);
l = sqrt(l);
cout << fixed << setprecision(4) << l << endl;
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 134,963 | 134,962 | u847270291 | cpp |
p02379 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main(void) {
int x1, x2, y1, y2;
cin >> x1 >> x2 >> y1 >> y2;
printf("%.8f\n", sqrt((x1 - y1) * (x1 - y1) + (x2 - y2) * (x2 - y2)));
} | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main(void) {
double x1, x2, y1, y2;
cin >> x1 >> x2 >> y1 >> y2;
printf("%.8f", sqrt((x1 - y1) * (x1 - y1) + (x2 - y2) * (x2 - y2)));
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove"
] | 134,964 | 134,965 | u166850985 | cpp |
p02379 |
#include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
double calDistance(int x1, int y1, int x2, int y2) {
return sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2));
}
int main() {
int x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << setprecision(4) << calDistance(x1, y1, x2, y2) <<... |
#include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
double calDistance(double x1, double y1, double x2, double y2) {
return sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2));
}
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << setprecision(4) << calDistance(x1,... | [
"variable_declaration.type.primitive.change"
] | 134,968 | 134,969 | u522482726 | cpp |
p02379 | #include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
double d = sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
cout << d << endl;
} | #include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
double d = sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
cout << fixed << d << endl;
return 0;
} | [
"io.output.change",
"control_flow.return.add",
"control_flow.return.0.add"
] | 134,981 | 134,982 | u414092452 | cpp |
p02379 | #include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
double d = sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
cout << d << endl;
return 0;
} | #include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
double d = sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
cout << fixed << d << endl;
return 0;
} | [
"io.output.change"
] | 134,983 | 134,982 | u414092452 | cpp |
p02379 | #include <algorithm>
#include <cstdlib>
#include <ctype.h>
#include <functional>
#include <iostream>
#include <math.h>
#include <numeric>
#include <sstream>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
int main() {
double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
double dist... | #include <algorithm>
#include <cstdlib>
#include <ctype.h>
#include <functional>
#include <iostream>
#include <math.h>
#include <numeric>
#include <sstream>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
int main() {
long double x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
long d... | [
"variable_declaration.type.widen.change",
"io.output.change"
] | 134,986 | 134,987 | u464296040 | cpp |
p02379 | #include <bits/stdc++.h>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << setprecision(5) << sqrt(pow(x1 - x2, 2.0) + pow(y1 - y2, 2.0))
<< endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << fixed << setprecision(8)
<< sqrt(pow(x1 - x2, 2.0) + pow(y1 - y2, 2.0)) << endl;
return 0;
} | [
"io.output.change",
"literal.number.change"
] | 134,988 | 134,989 | u411559868 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.