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 |
|---|---|---|---|---|---|---|---|
p02394 | #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (h >= x + r && w >= y + r && x >= r && y >= r) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (w >= x + r && h >= y + r && x >= r && y >= r) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 170,487 | 170,488 | u978224787 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || x + r > W) {
cout << "No" << endl;
return 0;
}
if (x - r > 0 && x + r < W) {
if (y - r < 0 || y + r > H) {
cout << "No" << endl;
return 0;
} else {
cout <<... | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || x + r > W) {
cout << "No" << endl;
return 0;
}
if (x - r >= 0 && x + r <= W) {
if (y - r < 0 || y + r > H) {
cout << "No" << endl;
return 0;
} else {
cout ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,489 | 170,490 | u824483998 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W > x + r && x - r > 0 && H > y + r && y - r > 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W >= x + r && x - r >= 0 && H >= y + r && y - r >= 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,491 | 170,492 | u281207094 | cpp |
p02394 | #include <iostream>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x && r <= y && x + r <= W && y + r <= H) {
cout << "Yes" << endl;
}
cout << "No" << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x && r <= y && x + r <= W && y + r <= H) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
}
| [
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 170,494 | 170,495 | u473115569 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x - r > 0 && x + r < w && y - r > 0 && y + r < h)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x - r >= 0 && x + r <= w && y - r >= 0 && y + r <= h)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,499 | 170,500 | u952266067 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W >= x + r && H >= y + r && 0 <= x + r && 0 <= y + r) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W >= x + r && H >= y + r && 0 <= x - r && 0 <= y - r) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 170,501 | 170,502 | u510149353 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x - r > 0 && x + r < w && y - r > 0 && y + r < h) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x - r >= 0 && x + r <= w && y - r >= 0 && y + r <= h) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,503 | 170,504 | u267240371 | cpp |
p02394 | #include <cstdio>
int main() {
//入力
int W, H, x, y, r;
std::scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (0 < x - r && x + r < W && 0 < y - r && y + r < H) {
std::printf("Yes");
} else {
std::printf("No");
}
std::printf("\n");
return 0;
}
| #include <cstdio>
int main() {
//入力
int W, H, x, y, r;
std::scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H) {
std::printf("Yes");
} else {
std::printf("No");
}
std::printf("\n");
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,508 | 170,509 | u460017356 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 < x - r && x + r < W && 0 < y + r && y + r < H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"misc.opposites",
"expression.operator.arithmetic.change"
] | 170,512 | 170,513 | u255709868 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 < x - r && x + r < W && 0 < y - r && y + r < H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,514 | 170,513 | u255709868 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x + r < w && x - r > 0 && y + r < h && y - r > 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x + r <= w && x - r >= 0 && y + r <= h && y - r >= 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,524 | 170,525 | u136295375 | cpp |
p02394 | #include <bits/stdc++.h>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x + r <= w && y + r <= h && x < r && y < r)
puts("Yes");
else
puts("No");
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x + r <= w && y + r <= h && x >= r && y >= r)
puts("Yes");
else
puts("No");
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,526 | 170,527 | u429502275 | cpp |
p02394 | #include <bits/stdc++.h>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x + r <= w && y + r <= h && x > r && y > r)
puts("Yes");
else
puts("No");
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x + r <= w && y + r <= h && x >= r && y >= r)
puts("Yes");
else
puts("No");
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,528 | 170,527 | u429502275 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= (x - r) && (x + r) <= W && 0 <= (y - r) && (x + r) <= H)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= (x - r) && (x + r) <= W && 0 <= (y - r) && (y + r) <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 170,529 | 170,530 | u061722919 | cpp |
p02394 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || y - r < 0 || x + r > W || y + r < H)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
}
| #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || y - r < 0 || x + r > W || y + r > H)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,531 | 170,532 | u542272690 | cpp |
p02394 | #include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
std::cout << (x - r > 0 && x + r < W && y - r > 0 && y + r < H ? "Yes" : "No")
<< std::endl;
return 0;
}
| #include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
std::cout << (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H ? "Yes"
: "No")
<< std::endl;
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"expression.off_by_one"
] | 170,536 | 170,537 | u884291095 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 < x - r && x + r < W && 0 < y - r && y + r < H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,538 | 170,539 | u014101660 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (y + r <= H && y - r >= 0 && x + r <= W && x - r >= W) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (y + r <= H && y - r >= 0 && x + r <= W && x - r >= 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.branch.if.condition.change"
] | 170,542 | 170,543 | u773714282 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r > x) {
cout << "No" << endl;
}
if (r > y) {
cout << "No" << endl;
}
if (W < x + r) {
cout << "No" << endl;
}
if (H < y + r) {
cout << "No" << endl;
} else {
cout << "Yes"... | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r > x) {
cout << "No" << endl;
} else if (r > y) {
cout << "No" << endl;
} else if (W < x + r) {
cout << "No" << endl;
} else if (H < y + r) {
cout << "No" << endl;
} else {
cout... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 170,546 | 170,547 | u236256951 | cpp |
p02394 | #include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
if ((x >= r) && (y >= r) && ((x + r) <= W) && ((y + r) <= H)) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "no" << std::endl;
}
return 0;
}
| #include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
if ((x >= r) && (y >= r) && ((x + r) <= W) && ((y + r) <= H)) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 170,548 | 170,549 | u881818567 | cpp |
p02394 | #include <bits/stdc++.h>
#include <stdio.h>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 < x - r && x + r < W && 0 < y - r && y + r < H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| #include <bits/stdc++.h>
#include <stdio.h>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,554 | 170,555 | u470434409 | cpp |
p02394 | #include <iostream>
using namespace std;
int main()
{
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 < x - r && 0 < y - r && x + r < W && y + r < H)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main()
{
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= x - r && 0 <= y - r && x + r <= W && y + r <= H)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,561 | 170,562 | u923905561 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r <= W && x - r >= 0 && y + r <= H && y - r <= H)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r <= W && x - r >= 0 && y + r <= H && y - r >= 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [] | 170,563 | 170,564 | u530557328 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if ((x - r) < 0 || (x + r) > W) {
cout << "No" << endl;
}
// if((x - r) >= 0 && (x + r) <= W){
// cout << "Yes" << endl;
// }
else {
if ((y + r) > H || (y - r) <= 0) {
cout << "No... | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if ((x - r) < 0 || (x + r) > W) {
cout << "No" << endl;
}
// if((x - r) >= 0 && (x + r) <= W){
// cout << "Yes" << endl;
// }
else {
if ((y + r) > H || (y - r) < 0) {
cout << "No"... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,567 | 170,568 | u692182465 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if ((x - r) < 0 || (x + r) > W) {
cout << "No" << endl;
}
// if((x - r) >= 0 && (x + r) <= W){
// cout << "Yes" << endl;
// }
else {
if ((y + r) > H || (y - r) < H) {
cout << "No"... | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if ((x - r) < 0 || (x + r) > W) {
cout << "No" << endl;
}
// if((x - r) >= 0 && (x + r) <= W){
// cout << "Yes" << endl;
// }
else {
if ((y + r) > H || (y - r) < 0) {
cout << "No"... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.branch.if.condition.change"
] | 170,569 | 170,568 | u692182465 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
cout << ((x - r >= 0 && y - r >= 0 && x - r <= W && y - r <= H) ? "Yes"
: "No")
<< endl;
}
| #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
cout << ((x - r >= 0 && y - r >= 0 && x + r <= W && y + r <= H) ? "Yes"
: "No")
<< endl;
}
| [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 170,570 | 170,571 | u165528868 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W = 0, H = 0, x = 0, y = 0, r = 0;
cin >> W >> H >> x >> y >> r;
if (x - r > 0 && x + r < W && y - r > 0 && y + r < H)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W = 0, H = 0, x = 0, y = 0, r = 0;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,740 | 170,741 | u531969551 | cpp |
p02394 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x - r > 0 && y - r > 0 && x + r < w && y + r < h)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x - r >= 0 && y - r >= 0 && x + r <= w && y + r <= h)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,748 | 170,749 | u993615433 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
int tmp;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || x + r > W || y - r < 0 || y + r > H) {
cout << "NO" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
int tmp;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || x + r > W || y - r < 0 || y + r > H) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 170,750 | 170,751 | u141611234 | cpp |
p02394 | #include <stdio.h>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if ((x + r >= 0) && (y + r >= 0) && (x + r <= w) && (y + r <= h)) {
printf("Yes\n");
} else {
printf("No\n");
}
} | #include <stdio.h>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if ((x - r >= 0) && (y - r >= 0) && (x + r <= w) && (y + r <= h)) {
printf("Yes\n");
} else {
printf("No\n");
}
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 170,760 | 170,761 | u116223445 | cpp |
p02394 | #include <stdio.h>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if ((x + r > 0) && (y + r > 0) && (x + r < w) && (y + r < h)) {
printf("Yes\n");
} else {
printf("No\n");
}
} | #include <stdio.h>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if ((x - r >= 0) && (y - r >= 0) && (x + r <= w) && (y + r <= h)) {
printf("Yes\n");
} else {
printf("No\n");
}
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change"
] | 170,762 | 170,761 | u116223445 | cpp |
p02394 | #include <stdio.h>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if ((x - r > 0) && (y - r > 0) && (x + r < w) && (y + r < h)) {
printf("Yes\n");
} else {
printf("No\n");
}
} | #include <stdio.h>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if ((x - r >= 0) && (y - r >= 0) && (x + r <= w) && (y + r <= h)) {
printf("Yes\n");
} else {
printf("No\n");
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,765 | 170,761 | u116223445 | cpp |
p02394 | #include "iostream"
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
W -= r;
H -= r;
if (x > r && y > r && x < W && y < H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include "iostream"
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
W -= r;
H -= r;
if (x >= r && y >= r && x <= W && y <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,766 | 170,767 | u781418403 | cpp |
p02394 | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r > 0 && x + r < W) {
if (y... | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && x + r <= W) {
if ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,768 | 170,769 | u765145536 | cpp |
p02394 | #include <stdio.h>
int main(void) {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (w > x + r && 0 < x - r && h > y + r && 0 < y - r)
printf("Yes\n");
else
printf("No\n");
return 0;
} | #include <stdio.h>
int main(void) {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (w >= x + r && 0 <= x - r && h >= y + r && 0 <= y - r)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,770 | 170,771 | u513206778 | cpp |
p02394 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#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... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#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... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,772 | 170,773 | u346550152 | cpp |
p02394 | #include <stdio.h>
int main(void) {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if ((x + r) < W && (y + r) < H && x >= 0 && y >= 0 && x >= r && y >= r) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main(void) {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if ((x + r) <= W && (y + r) <= H && x >= 0 && y >= 0 && x >= r && y >= r) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,774 | 170,775 | u887727184 | cpp |
p02394 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r > 0 || x + r > W || y - r > 0 || y + r > H)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || x + r > W || y - r < 0 || y + r > H)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,776 | 170,777 | u377471313 | cpp |
p02394 | #include <cstdio>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (0 <= x - r && 0 <= y - r) {
if (x + r <= w && y + r <= h) {
printf("Yes\n");
} else {
printf("No\n");
}
}
} | #include <cstdio>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (0 <= x - r && 0 <= y - r && x + r <= w && y + r <= h) {
printf("Yes\n");
} else {
printf("No\n");
}
} | [
"control_flow.branch.if.condition.change"
] | 170,778 | 170,779 | u329132105 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r, a, b;
cin >> W >> H >> x >> y >> r;
a = y + r;
b = x + r;
if (y <= r || x <= r || a >= H || b >= W) {
cout << "No" << '\n';
} else {
cout << "Yes" << '\n';
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r, a, b;
cin >> W >> H >> x >> y >> r;
a = y + r;
b = x + r;
if (y < r || x < r || a > H || b > W) {
cout << "No" << '\n';
} else {
cout << "Yes" << '\n';
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,785 | 170,786 | u530576146 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r < x && x < W - r && r < y && y < H - r)
cout << "Yes\n";
else
cout << "No\n";
} | #include <iostream>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x && x <= W - r && r <= y && y <= H - r)
cout << "Yes\n";
else
cout << "No\n";
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,787 | 170,788 | u557138543 | cpp |
p02394 | #include <iostream>
using namespace std;
main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || y - r < 0 || x + r > W || y + r || H) {
cout << "No";
} else
cout << "Yes";
cout << endl;
} | #include <iostream>
using namespace std;
main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || y - r < 0 || x + r > W || y + r > H) {
cout << "No";
} else {
cout << "Yes";
}
cout << endl;
} | [
"control_flow.branch.if.condition.change"
] | 170,789 | 170,790 | u929568713 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= (x + r) && (x + r) <= W && 0 <= (y + r) && (y + r) <= H) {
cout << "Yes\n";
} else {
cout << "No\n";
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= (x - r) && (x + r) <= W && 0 <= (y - r) && (y + r) <= H) {
cout << "Yes\n";
} else {
cout << "No\n";
}
return 0;
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 170,791 | 170,792 | u280746926 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r > W || x + y > H || x - r < 0 || y - r < 0) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r > W || r + y > H || x - r < 0 || y - r < 0) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 170,793 | 170,794 | u408216289 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r >= W || x + y >= H || x - r <= 0 || y - r <= 0) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r > W || r + y > H || x - r < 0 || y - r < 0) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"identifier.change"
] | 170,795 | 170,794 | u408216289 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r >= W || x + y >= H || x - r < 0 || y - r < 0) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r > W || r + y > H || x - r < 0 || y - r < 0) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"identifier.change"
] | 170,796 | 170,794 | u408216289 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x <= W - r && r <= y <= H - r)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x && x <= W - r && r <= y && y <= H - r)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 170,798 | 170,799 | u727361573 | cpp |
p02394 | #include <iostream>
using std::cin;
using std::cout;
using std::endl;
void check(int W, int H, int x, int y, int r) {
if (x - r <= 0 || x + r >= W || y - r <= 0 || y + r >= H) {
cout << "No" << endl;
return;
}
cout << "Yes" << endl;
return;
}
int main(void) {
int W;
int H;
int x;
int y;
int... | #include <iostream>
using std::cin;
using std::cout;
using std::endl;
void check(int W, int H, int x, int y, int r) {
if (x - r < 0 || x + r > W || y - r < 0 || y + r > H) {
cout << "No" << endl;
return;
}
cout << "Yes" << endl;
return;
}
int main(void) {
int W;
int H;
int x;
int y;
int r;
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,800 | 170,801 | u910664394 | cpp |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (W > x + r && x - r >= 0 && H >= y + r && y - r >= 0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (W >= x + r && x - r >= 0 && H >= y + r && y - r >= 0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,804 | 170,805 | u368492412 | cpp |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (W > x + r && x - r > 0 && H > y + r && y - r > 0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (W >= x + r && x - r >= 0 && H >= y + r && y - r >= 0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,806 | 170,805 | u368492412 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r < x && (x + r) < W) {
if (r < y && (y + r) < H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x && (x + r) <= W) {
if (r <= y && (y + r) <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else {
cout << "No" << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,807 | 170,808 | u419416993 | cpp |
p02394 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x >= r && y >= r && x >= (W - r) && y <= (H - r)) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
} | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x >= r && y >= r && x <= (W - r) && y <= (H - r)) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,809 | 170,810 | u144329748 | cpp |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", W, H, x, y, r);
if (0 <= x - r && W >= x + r && 0 <= y - r && H >= y + r) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (0 <= x - r && W >= x + r && 0 <= y - r && H >= y + r) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"expression.operation.unary.reference.add"
] | 170,811 | 170,812 | u451300376 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r > 0 && x + r < W) {
if (y + r > 0 && y + r < H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && x + r <= W) {
if (y - r >= 0 && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else
cout << "No" << endl;
return 0;
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change"
] | 170,814 | 170,815 | u108989847 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r >= 0 && x + r <= W) {
if (y + r >= 0 && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && x + r <= W) {
if (y - r >= 0 && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else
cout << "No" << endl;
return 0;
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 170,817 | 170,815 | u108989847 | cpp |
p02394 | #include <iostream>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
bool xcondition = x > r && x < W - r;
bool ycondition = y > r && y < H - r;
if (xcondition && ycondition) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
bool xcondition = x >= r && x <= W - r;
bool ycondition = y >= r && y <= H - r;
if (xcondition && ycondition) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"expression.operation.binary.change"
] | 170,823 | 170,824 | u166850985 | cpp |
p02394 | #include <cstdio>
int main() {
int W, H, x, y, r;
scanf("%d", &W);
scanf("%d", &H);
scanf("%d", &x);
scanf("%d", &y);
scanf("%d", &r);
if (x <= r || y <= r || x + r >= W || y + r >= H) {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
} | #include <cstdio>
int main() {
int W, H, x, y, r;
scanf("%d", &W);
scanf("%d", &H);
scanf("%d", &x);
scanf("%d", &y);
scanf("%d", &r);
if (x < r || y < r || x + r > W || y + r > H) {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,825 | 170,826 | u916386151 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if ((x - r) > 0 && (x + r) < W && (y - r) > 0 && (y + r) < H) {
cout << "Yes" << endl;
return 0;
}
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if ((x - r) >= 0 && (x + r) <= W && (y - r) >= 0 && (y + r) <= H) {
cout << "Yes" << endl;
return 0;
}
cout << "No" << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,827 | 170,828 | u188495278 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
int safe_min_x, safe_max_x, safe_min_y, safe_max_y;
cin >> W >> H >> x >> y >> r;
safe_min_x = r;
safe_max_x = W - r;
safe_min_y = r;
safe_max_y = H - y;
if ((safe_min_x <= x && x <= safe_max_x) && (safe_min_y <= y && safe_max_y)... | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
int safe_min_x, safe_max_x, safe_min_y, safe_max_y;
cin >> W >> H >> x >> y >> r;
safe_min_x = r;
safe_max_x = W - r;
safe_min_y = r;
safe_max_y = H - r;
if ((safe_min_x <= x && x <= safe_max_x) &&
(safe_min_y <= y && y <= ... | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change"
] | 170,830 | 170,831 | u888871392 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
int safe_min_x, safe_max_x, safe_min_y, safe_max_y;
cin >> W >> H >> x >> y >> r;
safe_min_x = r;
safe_max_x = W - r;
safe_min_y = r;
safe_max_y = H - r;
if ((safe_min_x <= x && x <= safe_max_x) && (safe_min_y <= y && safe_max_y)... | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
int safe_min_x, safe_max_x, safe_min_y, safe_max_y;
cin >> W >> H >> x >> y >> r;
safe_min_x = r;
safe_max_x = W - r;
safe_min_y = r;
safe_max_y = H - r;
if ((safe_min_x <= x && x <= safe_max_x) &&
(safe_min_y <= y && y <= ... | [
"control_flow.branch.if.condition.change"
] | 170,832 | 170,831 | u888871392 | cpp |
p02394 | #include <algorithm>
#include <iostream>
#define N 5
using namespace std;
void output_array_int(int *, int, char);
void input_array_int(int *, int);
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W > x + r && x - r > 0 && H > y + r && y - r > 0) {
cout << "Yes" << endl;
} else {
c... | #include <algorithm>
#include <iostream>
#define N 5
using namespace std;
void output_array_int(int *, int, char);
void input_array_int(int *, int);
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W >= x + r && x - r >= 0 && H >= y + r && y - r >= 0) {
cout << "Yes" << endl;
} else {
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,833 | 170,834 | u048526648 | cpp |
p02394 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int W;
int H;
int x;
int y;
int r;
int main(void) {
cin >> W >> H >> x >> y >> r;
if (W >= x + r && 0 <= x - r && H >= y + r && 0 <= y - r)
cout << "yes" << endl;
else
cout << "No" << endl;
... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int W;
int H;
int x;
int y;
int r;
int main(void) {
cin >> W >> H >> x >> y >> r;
if (W >= x + r && 0 <= x - r && H >= y + r && 0 <= y - r)
cout << "Yes" << endl;
else
cout << "No" << endl;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 170,835 | 170,836 | u869667855 | cpp |
p02394 | #include <iostream>
using namespace std;
//????????¢??????????????\??£?????????????????????
int main(int argc, char *argv[]) {
int W, H, x, y, r;
bool isOut;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 && x + r > W && y - r < 0 && y + r > H) {
cout << "No\n";
} else {
cout << "Yes\n";
}
} | #include <iostream>
using namespace std;
//????????¢??????????????\??£?????????????????????
int main(int argc, char *argv[]) {
int W, H, x, y, r;
bool isOut;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || x + r > W || y - r < 0 || y + r > H) {
cout << "No\n";
} else {
cout << "Yes\n";
}
} | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 170,837 | 170,838 | u151979683 | cpp |
p02394 | #include <stdio.h>
int main(void) {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (x - r >= 0 && y - r >= 0 && x + r <= w && y - r <= h) {
puts("Yes");
} else {
puts("No");
}
return 0;
} | #include <stdio.h>
int main(void) {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (x - r >= 0 && y - r >= 0 && x + r <= w && y + r <= h) {
puts("Yes");
} else {
puts("No");
}
return 0;
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 170,839 | 170,840 | u663088010 | cpp |
p02394 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x > r && x < w - r && y > r && y < w - r)
cout << "Yes" << endl;
else
cout << "No" << endl;
} |
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x >= r && x <= w - r && y >= r && y <= h - r)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,841 | 170,842 | u505573834 | cpp |
p02394 |
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x >= r && x <= w - r && y >= r && y <= w - r)
cout << "Yes" << endl;
else
cout << "No" << endl;
} |
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x >= r && x <= w - r && y >= r && y <= h - r)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 170,843 | 170,842 | u505573834 | cpp |
p02394 | #include <bits/stdc++.h>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r > x || r > y || r + x > W || r + y > H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r > x || r > y || r + x > W || r + y > H) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | [
"literal.string.change",
"io.output.change"
] | 170,849 | 170,850 | u493646413 | cpp |
p02394 | #include <bits/stdc++.h>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x <= W - r && r <= y <= H - r) {
string s = "Yes";
cout << s << endl;
} else {
string s = "No";
cout << s << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x && x <= W - r && r <= y && y <= H - r) {
string s = "Yes";
cout << s << endl;
} else {
string s = "No";
cout << s << endl;
}
} | [
"control_flow.branch.if.condition.change"
] | 170,851 | 170,852 | u493646413 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
int s;
bool a = x > r && x < W - r && y > r && y < H - r;
if (a) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
int s;
bool a = x >= r && x <= W - r && y >= r && y <= H - r;
if (a) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"expression.operation.binary.change"
] | 170,853 | 170,854 | u493646413 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x <= W - r && r <= y <= H - r) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x && x <= W - r && r <= y && y <= H - r) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"control_flow.branch.if.condition.change"
] | 170,857 | 170,858 | u493646413 | cpp |
p02394 | #include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
if (0 < x - r && x + r < W && 0 < y - r && y + r < H) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
return 0;
} | #include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,859 | 170,860 | u858711833 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W;
int H;
int x;
int y;
int r;
cin >> W >> H >> x >> y >> r;
if (x > r && (W - r) > x && y > r && (H - r) > y) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int W;
int H;
int x;
int y;
int r;
cin >> W >> H >> x >> y >> r;
if (x >= r && (W - r) >= x && y >= r && (H - r) >= y) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,861 | 170,862 | u460641168 | cpp |
p02394 | #include <stdio.h>
int main() {
int x, y, w, h, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (x - r >= 0 && y - r >= 0 && x - r <= w && y - r <= h) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
int x, y, w, h, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (x - r >= 0 && y - r >= 0 && x + r <= w && y + r <= h) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 170,863 | 170,864 | u752778725 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x > r && x < w - r && y > r && y < h - r && r < w / 2 && r < h / 2)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x >= r && x <= w - r && y >= r && y <= h - r && r <= w / 2 && r <= h / 2)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,865 | 170,866 | u592579152 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 < x - r && x + r < W && 0 < y - r && y + r << H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,867 | 170,868 | u511962207 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 < x - r && x + r < W && 0 < y - r && y + r < H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,869 | 170,868 | u511962207 | cpp |
p02394 | #include <cmath>
#include <iostream>
#include <string>
int main(int argc, char *argv[]) {
int w, h, x, y, r;
std::cin >> w >> h >> x >> y >> r;
std::string judge = "Yes";
if (x - r < 0)
judge = "No";
else if (x + r >= w)
judge = "No";
else if (y - r < 0)
judge = "No";
else if (y + r >= h)
... | #include <cmath>
#include <iostream>
#include <string>
int main(int argc, char *argv[]) {
int w, h, x, y, r;
std::cin >> w >> h >> x >> y >> r;
std::string judge = "Yes";
if (x - r < 0)
judge = "No";
else if (x + r > w)
judge = "No";
else if (y - r < 0)
judge = "No";
else if (y + r > h)
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,872 | 170,873 | u098988101 | cpp |
p02394 | #include <cmath>
#include <iostream>
#include <string>
int main(int argc, char *argv[]) {
int w, h, x, y, r;
std::cin >> w >> h >> x >> y >> r;
std::string judge = "Yes";
if (x - r <= 0)
judge = "No";
else if (x + r >= w)
judge = "No";
else if (y - r <= 0)
judge = "No";
else if (y + r >= h)... | #include <cmath>
#include <iostream>
#include <string>
int main(int argc, char *argv[]) {
int w, h, x, y, r;
std::cin >> w >> h >> x >> y >> r;
std::string judge = "Yes";
if (x - r < 0)
judge = "No";
else if (x + r > w)
judge = "No";
else if (y - r < 0)
judge = "No";
else if (y + r > h)
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,874 | 170,873 | u098988101 | cpp |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (W > x + r && H > y + r && x - r > 0 && y - r > 0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (W >= x + r && H >= y + r && x - r >= 0 && y - r >= 0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,875 | 170,876 | u084980375 | cpp |
p02394 | #include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
// 0 <= x -r, x + r <= W
// 0 <= y -r, y + r <= H
bool b = true;
if (r > x)
b = false;
if (r > y)
b = false;
if (x + r > W)
b = false;
if (y + r > H)
b = false;
if (b)
std::cout << "YES" << ... | #include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
// 0 <= x -r, x + r <= W
// 0 <= y -r, y + r <= H
bool b = true;
if (r > x)
b = false;
if (r > y)
b = false;
if (x + r > W)
b = false;
if (y + r > H)
b = false;
if (b)
std::cout << "Yes" << ... | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 170,877 | 170,878 | u422898789 | cpp |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (W > x + r && H > y + r) {
if (0 < x - r && 0 < y - r)
printf("Yes\n");
else
printf("No\n");
} else
printf("No\n");
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (W >= x + r && H >= y + r) {
if (0 <= x - r && 0 <= y - r)
printf("Yes\n");
else
printf("No\n");
} else
printf("No\n");
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,879 | 170,880 | u109270052 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r == 0 && y - r == 0 && W - r >= x && H - r >= y) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && y - r >= 0 && W - r >= x && H - r >= y) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,883 | 170,884 | u677547184 | cpp |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r, a;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (0 <= x + r && x + r <= W && 0 <= y + r && y + r <= H)
printf("Yes\n");
if (x + r < 0 || y + r < 0 || x + r > W || y + r > H)
printf("No\n");
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r, a;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H)
printf("Yes\n");
if (x - r < 0 || y - r < 0 || x + r > W || y + r > H)
printf("No\n");
return 0;
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 170,885 | 170,886 | u748148939 | cpp |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r, a;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H)
printf("Yes\n");
if (x + r < 0 || y + r < 0 || x + r > W || y + r > H)
printf("No\n");
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r, a;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H)
printf("Yes\n");
if (x - r < 0 || y - r < 0 || x + r > W || y + r > H)
printf("No\n");
return 0;
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 170,887 | 170,886 | u748148939 | cpp |
p02394 | #include <iostream>
int main() {
int w, h, x, y, r;
std::cin >> w;
std::cin >> h;
std::cin >> x;
std::cin >> y;
std::cin >> r;
if (w - r >= x >= r && h - r >= y >= r) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
} | #include <iostream>
int main() {
int w, h, x, y, r;
std::cin >> w;
std::cin >> h;
std::cin >> x;
std::cin >> y;
std::cin >> r;
if (w - r >= x && x >= r && h - r >= y && y >= r) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
} | [
"control_flow.branch.if.condition.change"
] | 170,888 | 170,889 | u661086350 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int x;
int y;
int z;
int a;
int b;
cin >> x >> y >> z >> a >> b;
if (x < z + b) {
cout << "No\n";
} else if (0 > z + b) {
cout << "No\n";
} else if (y < a + b) {
cout << "No\n";
} else if (0 > y + b) {
cout << "No\n";
} else {
... | #include <iostream>
using namespace std;
int main() {
int x;
int y;
int z;
int a;
int b;
cin >> x >> y >> z >> a >> b;
if (x < z + b) {
cout << "No\n";
} else if (0 > z - b) {
cout << "No\n";
} else if (y < a + b) {
cout << "No\n";
} else if (0 > a - b) {
cout << "No\n";
} else {
... | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"io.output.change"
] | 170,893 | 170,894 | u756732439 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int x;
int y;
int z;
int a;
int b;
cin >> x >> y >> z >> a >> b;
if (x < z + b) {
cout << "No\n";
} else if (0 > z + b) {
cout << "No\n";
} else if (y < a + b) {
cout << "No\n";
} else if (0 > y + b) {
cout << "No\n";
} else {
... | #include <iostream>
using namespace std;
int main() {
int x;
int y;
int z;
int a;
int b;
cin >> x >> y >> z >> a >> b;
if (x < z + b) {
cout << "No\n";
} else if (0 > z - b) {
cout << "No\n";
} else if (y < a + b) {
cout << "No\n";
} else if (0 > a - b) {
cout << "No\n";
} else {
... | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 170,895 | 170,894 | u756732439 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int x;
int y;
int z;
int a;
int b;
cin >> x >> y >> z >> a >> b;
if (x < z + b) {
cout << "No\n";
} else if (0 > z - b) {
cout << "No\n";
} else if (y < a + b) {
cout << "No\n";
} else if (0 > y - b) {
cout << "No\n";
} else {
... | #include <iostream>
using namespace std;
int main() {
int x;
int y;
int z;
int a;
int b;
cin >> x >> y >> z >> a >> b;
if (x < z + b) {
cout << "No\n";
} else if (0 > z - b) {
cout << "No\n";
} else if (y < a + b) {
cout << "No\n";
} else if (0 > a - b) {
cout << "No\n";
} else {
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 170,902 | 170,894 | u756732439 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r > 0 && x + r <= W && y - r > 0 && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,905 | 170,906 | u648360881 | cpp |
p02394 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W < x + r || H < y + r || 0 > x + r || 0 > y + r) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W < x + r || H < y + r || 0 > x - r || 0 > y - r) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 170,915 | 170,916 | u884304694 | cpp |
p02394 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x > r && y > r && x + r < W && y + r < H)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x >= r && y >= r && x + r <= W && y + r <= H)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,920 | 170,921 | u778308059 | cpp |
p02394 | #include <iostream>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r <= W && y + r <= H && x + r >= 0 && y + r >= 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r <= W && y + r <= H && x - r >= 0 && y - r >= 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 170,934 | 170,935 | u146752763 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r > 0 && y - r > 0 && x + r <= W && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && y - r >= 0 && x + r <= W && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,936 | 170,937 | u166299946 | cpp |
p02394 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define shosu(n) setprecision(n)
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && y - r >= 0 && x + r <= W && x + r <= H)
cout << "Yes" << endl;
else
cout << "No" << endl;
retur... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define shosu(n) setprecision(n)
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && y - r >= 0 && x + r <= W && y + r <= H)
cout << "Yes" << endl;
else
cout << "No" << endl;
retur... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 170,941 | 170,942 | u502396982 | cpp |
p02394 | #include <bits/stdc++.h>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x - r < 0 && x + r < w && y - r < 0 && y + r < h)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x - r < 0 || x + r > w || y - r < 0 || y + r > h)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | [
"misc.opposites",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change"
] | 170,945 | 170,946 | u218318314 | cpp |
p02394 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x + r < w && x - r > 0 && y + r < h && y - r > 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x + r <= w && x - r >= 0 && y + r <= h && y - r >= 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
retur... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,948 | 170,949 | u065542086 | cpp |
p02394 | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W < x + r || H < y + r || 0 > x + r || 0 > y + r) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W < x + r || H < y + r || 0 > x - r || 0 > y - r) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 170,950 | 170,951 | u001236246 | cpp |
p02394 | #include <iostream>
#include <string>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r > 0 && x + r < W && y - r > 0 && y + r < H)
cout << "Yes" << endl;
else {
cout << "No" << endl;
}
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H)
cout << "Yes" << endl;
else {
cout << "No" << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,952 | 170,953 | u908899927 | cpp |
p02394 | #include <stdio.h>
int main() {
int R, L, F, B, W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
R = x - r;
L = x + r;
F = y + r;
B = y - r;
if (0 < R && L < W && 0 < B && F < H)
printf("Yes");
else
printf("No");
return 0;
} | #include <stdio.h>
int main() {
int R, L, F, B, W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
R = x - r;
L = x + r;
F = y + r;
B = y - r;
if (0 <= R && L <= W && 0 <= B && F <= H)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 170,954 | 170,955 | u205248875 | cpp |
p02394 | #include <stdio.h>
int main() {
int R, L, F, B, W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
R = x - r;
L = x + r;
F = y + r;
B = y - r;
if (0 < R && L < W && 0 < B && F < H)
printf("Yes\n");
else
printf("No\n");
return 0;
} | #include <stdio.h>
int main() {
int R, L, F, B, W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
R = x - r;
L = x + r;
F = y + r;
B = y - r;
if (0 <= R && L <= W && 0 <= B && F <= H)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 170,956 | 170,955 | u205248875 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.