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 |
|---|---|---|---|---|---|---|---|
p02608 | #include <bits/stdc++.h>
using namespace std;
#define optimizar_io \
ios_base::sync_with_stdio(false); \
cin.tie(0);
typedef long long int ll;
map<ll, ll> freq;
ll f(ll x, ll y, ll z) { return x * x + y * y + z *... | #include <bits/stdc++.h>
using namespace std;
#define optimizar_io \
ios_base::sync_with_stdio(false); \
cin.tie(0);
typedef long long int ll;
map<ll, ll> freq;
ll f(ll x, ll y, ll z) { return x * x + y * y + z *... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 314,913 | 314,914 | u043536340 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
long long int arr[10005];
int main() {
ll n;
cin >> n;
for (long long int i = 1; i <= 50; i++) {
for (long long int j = 1; j <= 50; j++) {
for (long long int k = 1; k <= 50; k++) {
ll val = i * i + j * j + k * k + i * j + j ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
long long int arr[10005];
int main() {
ll n;
cin >> n;
for (long long int i = 1; i <= 100; i++) {
for (long long int j = 1; j <= 100; j++) {
for (long long int k = 1; k <= 100; k++) {
ll val = i * i + j * j + k * k + i * j +... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 314,919 | 314,920 | u373699015 | cpp |
p02608 | #pragma GCC optimize("Ofast")
#pragma GCC target("avx2")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/rope>
using namespace std;
using namespace __gnu_pbds;
using namespace __gnu_cxx;
// change null_type here for map/set
typedef tree<int, null_typ... | #pragma GCC optimize("Ofast")
#pragma GCC target("avx2")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/rope>
using namespace std;
using namespace __gnu_pbds;
using namespace __gnu_cxx;
// change null_type here for map/set
typedef tree<int, null_typ... | [] | 314,921 | 314,922 | u941362181 | cpp |
p02608 | #include <algorithm>
#include <bitset>
#include <iomanip>
#include <iostream>
#include <list>
#include <math.h>
#include <numeric>
#include <string>
#include <vector>
using namespace std;
int calc(int i) {
double lim = sqrt((double)i);
int ilim = (int)lim + 1;
int val;
int ans = 0;
// �l���S������
for (i... | #include <algorithm>
#include <bitset>
#include <iomanip>
#include <iostream>
#include <list>
#include <math.h>
#include <numeric>
#include <string>
#include <vector>
using namespace std;
int calc(int i) {
double lim = sqrt((double)i);
int ilim = (int)lim + 1;
int val;
int ans = 0;
// �l���S������
for (i... | [
"literal.number.change",
"assignment.value.change"
] | 314,934 | 314,935 | u605901675 | cpp |
p02608 | #include "bits/stdc++.h"
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
void Main() {
int n;
cin >> n;
vector<int> ans(n + 1, 0);
// for(int a = 1; a <= n; a++){
// int ans = 0;
for (int i = 1; i <= 50; i++) {
... | #include "bits/stdc++.h"
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
void Main() {
int n;
cin >> n;
vector<int> ans(n + 1, 0);
// for(int a = 1; a <= n; a++){
// int ans = 0;
for (int i = 1; i <= 100; i++) {
... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 314,936 | 314,937 | u767481489 | cpp |
p02608 | #include <cmath>
#include <iomanip>
#include <iostream>
#include <utility>
#include <vector>
using namespace std;
int main() {
int N;
cin >> N;
int count[10001] = {};
int temp = 0;
for (int x = 1; x < 101; ++x) {
for (int y = 1; y < 101; ++y) {
for (int z = 1; z < 101; ++z) {
temp = x * ... | #include <cmath>
#include <iomanip>
#include <iostream>
#include <utility>
#include <vector>
using namespace std;
int main() {
int N;
cin >> N;
int count[10001] = {};
int temp = 0;
for (int x = 1; x < 101; ++x) {
for (int y = 1; y < 101; ++y) {
for (int z = 1; z < 101; ++z) {
temp = x * ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 314,945 | 314,946 | u127364468 | cpp |
p02608 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int a[100000];
for (int i = 1; i <= n; ++i)
a[i] = 0;
for (int i = 1; i <= 10; ++i)
for (int j = 1; j <= 10; ++j)
for (int k = 1; k <= 10; ++k)
++a[i * i + j * j + k * k + i * k + j * k + i * j];
for (int i = 1; i <... | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int a[100000];
for (int i = 1; i <= n; ++i)
a[i] = 0;
for (int i = 1; i <= 100; ++i)
for (int j = 1; j <= 100; ++j)
for (int k = 1; k <= 100; ++k)
++a[i * i + j * j + k * k + i * k + j * k + i * j];
for (int i = 1; ... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 314,953 | 314,954 | u267727566 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int n, temp;
cin >> n;
int arr[1005] = {0};
for (int i = 1; i < 100; ++i) {
for (int j = 1; j < 100; ++j) {
for (int k = 1; k < 100; ++k) {
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int n, temp;
cin >> n;
int arr[10005] = {0};
for (int i = 1; i < 100; ++i) {
for (int j = 1; j < 100; ++j) {
for (int k = 1; k < 100; ++k) {
... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.branch.if.condition.change"
] | 314,955 | 314,956 | u696657632 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int n, temp;
cin >> n;
int arr[1005] = {0};
for (int i = 1; i < 100; ++i) {
for (int j = 1; j < 100; ++j) {
for (int k = 1; k < 100; ++k) {
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int n, temp;
cin >> n;
int arr[10005] = {0};
for (int i = 1; i < 100; ++i) {
for (int j = 1; j < 100; ++j) {
for (int k = 1; k < 100; ++k) {
... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 314,957 | 314,956 | u696657632 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> ans(n + 1, 0);
for (int x = 1; x * x <= n; x++) {
for (int y = 1; y * y <= n; y++) {
for (int z = 1; z * z <= n; z++) {
int num = x * x + y * y + z * z + x * y + y * z + z * x;
ans[num]++;
}
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> ans(1000000, 0);
for (int x = 1; x * x <= n; x++) {
for (int y = 1; y * y <= n; y++) {
for (int z = 1; z * z <= n; z++) {
int num = x * x + y * y + z * z + x * y + y * z + z * x;
ans[num]++;
}... | [
"identifier.replace.remove",
"literal.replace.add",
"call.arguments.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 314,968 | 314,969 | u297195722 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define pi acos(-1.0)
#define MOD 1000000007
#define pb push_back
#define cy cout << "Yes\n"
#define cn cout << "No\n"
typedef unsigned long long int ull;
typedef long long int ll;
int a[500005];
const int M = 1e4;
ll cnt[M];
int main() {
int n;
cin >> n;
for (int i ... | #include <bits/stdc++.h>
using namespace std;
#define pi acos(-1.0)
#define MOD 1000000007
#define pb push_back
#define cy cout << "Yes\n"
#define cn cout << "No\n"
typedef unsigned long long int ull;
typedef long long int ll;
int a[500005];
const int M = 1e4;
ll cnt[M];
int main() {
int n;
cin >> n;
for (int i ... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 314,970 | 314,971 | u458224363 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
long long N;
cin >> N;
vector<long long> f(N);
for (long long n = 1; n <= N; n++) {
if (n == 6) {
cout << 1 << endl;
continue;
}
long long count = 0;
long long sqrtn = sqrt(n);
for (long long x = 1; x <= sqrtn; x... | #include <bits/stdc++.h>
using namespace std;
int main(void) {
long long N;
cin >> N;
vector<long long> f(N);
for (long long n = 1; n <= N; n++) {
if (n == 6) {
cout << 1 << endl;
continue;
}
long long count = 0;
long long sqrtn = sqrt(n);
for (long long x = 1; x <= sqrtn; x... | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 314,974 | 314,975 | u136029702 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
int n;
cin >> n;
vector<int> ans(1001, 0);
for (int x = 1; x <= 100; x++) {
for (int y = 1; y <= 100; y++) {
for (int z = 1; z <= 100; z++) {
int m = x * x + y * y... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
int n;
cin >> n;
vector<int> ans(10001, 0);
for (int x = 1; x <= 100; x++) {
for (int y = 1; y <= 100; y++) {
for (int z = 1; z <= 100; z++) {
int m = x * x + y * ... | [
"literal.number.change",
"call.arguments.change"
] | 314,983 | 314,984 | u082801599 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ordered_set \
tree<int, null_type, less<int>, rb_tree_tag, \
... | #include <bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ordered_set \
tree<int, null_type, less<int>, rb_tree_tag, \
... | [
"literal.number.change",
"control_flow.loop.condition.change",
"call.arguments.change"
] | 315,000 | 315,001 | u334545058 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> ans(n, 0);
for (int i = 1; i <= sqrt(n); i++) {
for (int j = 1; j <= sqrt(n); j++) {
for (int k = 1; k <= sqrt(n); k++) {
int f = i * i + j * j + k * k + i * j + j * k + k * i - 1;
ans[f]++;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> ans(100000, 0);
for (int i = 1; i <= sqrt(n); i++) {
for (int j = 1; j <= sqrt(n); j++) {
for (int k = 1; k <= sqrt(n); k++) {
int f = i * i + j * j + k * k + i * j + j * k + k * i - 1;
ans[f]++;
... | [
"identifier.replace.remove",
"literal.replace.add",
"call.arguments.change"
] | 315,004 | 315,005 | u367569703 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define arep(i, x, n) for (int i = int(x); i < (int)(n); i++)
#define rep(i, n) for (int i = 0; i < n; ++i)
#define pi 3.141592653589793
#define eps 0.00000001
#define INF 1e9 + 7
using ll = long long;
int main() {
float N;
cin >> N;
int sq = sqrt(N) + 1;
int intN... | #include <bits/stdc++.h>
using namespace std;
#define arep(i, x, n) for (int i = int(x); i < (int)(n); i++)
#define rep(i, n) for (int i = 0; i < n; ++i)
#define pi 3.141592653589793
#define eps 0.00000001
#define INF 1e9 + 7
using ll = long long;
int main() {
float N;
cin >> N;
int sq = sqrt(N) + 1;
int intN... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 315,006 | 315,007 | u607437907 | cpp |
p02608 | #include <bits/stdc++.h>
#include <iomanip>
#include <math.h>
#include <stdio.h>
#include <unistd.h>
#define rep(i, x) for (ll i = 0; i < x; i++)
#define all(a) (a).begin(), (a).end()
#define vecin(a) rep(i, a.size()) cin >> a[i]
#define vecout(a) rep(i, a.size()) cout << a[i] << " "
using ll = long long;
using ld = lo... | #include <bits/stdc++.h>
#include <iomanip>
#include <math.h>
#include <stdio.h>
#include <unistd.h>
#define rep(i, x) for (ll i = 0; i < x; i++)
#define all(a) (a).begin(), (a).end()
#define vecin(a) rep(i, a.size()) cin >> a[i]
#define vecout(a) rep(i, a.size()) cout << a[i] << " "
using ll = long long;
using ld = lo... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 315,010 | 315,011 | u527652459 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef vector<int> vec;
//配列の添字ズレに注意
//=に注意
int main() {
int f[10007];
rep(i, 10005) f[i] = 0;
int n, memo;
cin >> n;
for (int x = 1; x < 50; x++) {
for (int y = 1; y < 50; y++) {
for (int z = 1; z < 50; z... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef vector<int> vec;
//配列の添字ズレに注意
//=に注意
int main() {
int f[10007];
rep(i, 10005) f[i] = 0;
int n, memo;
cin >> n;
for (int x = 1; x < 101; x++) {
for (int y = 1; y < 101; y++) {
for (int z = 1; z < 10... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,012 | 315,013 | u551813187 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[1000001] = {};
int n = 0;
cin >> n;
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
a[(i * i) + (j * j) + (k * k) + (i * j) + (j * k) + (k * i)]++;
}
}
}
for (int ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[1000001] = {};
int n = 0;
cin >> n;
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
a[(i * i) + (j * j) + (k * k) + (i * j) + (j * k) + (k * i)]++;
}
}
}
for (int ... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 315,016 | 315,017 | u321482395 | cpp |
p02608 | #include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <climits>
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <functional>
#incl... | #include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <climits>
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <functional>
#incl... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,021 | 315,022 | u683078179 | cpp |
p02608 | #include <bits/stdc++.h>
#define IO std::ios::sync_with_stdio(false), cin.tie(0)
using namespace std;
int fun(int x, int y, int z) {
return x * x + y * y + z * z + x * z + y * z + x * y;
}
int a[10001];
int main() {
int n;
memset(a, 0, sizeof(a));
cin >> n;
for (int j = 1; j <= 70; j++) {
for (int k = ... | #include <bits/stdc++.h>
#define IO std::ios::sync_with_stdio(false), cin.tie(0)
using namespace std;
int fun(int x, int y, int z) {
return x * x + y * y + z * z + x * z + y * z + x * y;
}
int a[10001];
int main() {
int n;
memset(a, 0, sizeof(a));
cin >> n;
for (int j = 1; j <= 100; j++) {
for (int k =... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,032 | 315,033 | u904489151 | cpp |
p02608 | #include <bits/stdc++.h>
#define IO std::ios::sync_with_stdio(false), cin.tie(0)
using namespace std;
int fun(int x, int y, int z) {
return x * x + y * y + z * z + x * z + y * z + x * y;
}
int a[10001];
int main() {
int n;
memset(a, 0, sizeof(a));
cin >> n;
for (int j = 1; j <= 70; j++) {
for (int k = ... | #include <bits/stdc++.h>
#define IO std::ios::sync_with_stdio(false), cin.tie(0)
using namespace std;
int fun(int x, int y, int z) {
return x * x + y * y + z * z + x * z + y * z + x * y;
}
int a[10001];
int main() {
int n;
memset(a, 0, sizeof(a));
cin >> n;
for (int j = 1; j <= 100; j++) {
for (int k =... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"io.output.change"
] | 315,034 | 315,033 | u904489151 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
void Main();
using i8 = int8_t; /* -128 ~ 127 */
using u8 = uint8_t; /* 0 ~ 255 */
using i16 = int16_t; /* -32,768 ~ 32,767 */
using u16 = uint16_t; /* 0 ~ 65,535 */
using i32 = int32_t; /* -2,147,483,648 ~ 2,147,483,647 */
using u32 = uint32_t; /* 0 ~ 4,294,967,295... | #include <bits/stdc++.h>
using namespace std;
void Main();
using i8 = int8_t; /* -128 ~ 127 */
using u8 = uint8_t; /* 0 ~ 255 */
using i16 = int16_t; /* -32,768 ~ 32,767 */
using u16 = uint16_t; /* 0 ~ 65,535 */
using i32 = int32_t; /* -2,147,483,648 ~ 2,147,483,647 */
using u32 = uint32_t; /* 0 ~ 4,294,967,295... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 315,035 | 315,036 | u694711153 | cpp |
p02608 | /* * In the name of GOD
* Thanks God */
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define F first
#define S second
int32_t main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int a[10000] = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, ... | /* * In the name of GOD
* Thanks God */
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define F first
#define S second
int32_t main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int a[10000] = {
0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, ... | [
"literal.number.change"
] | 315,041 | 315,042 | u085172266 | cpp |
p02608 | #include <algorithm>
#include <array>
#include <climits>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stdio.h>
#include <string>
#include <vector>
#define INF 1000000007 // 1000000000000000003
#define MOD 10000... | #include <algorithm>
#include <array>
#include <climits>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stdio.h>
#include <string>
#include <vector>
#define INF 1000000007 // 1000000000000000003
#define MOD 10000... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,052 | 315,053 | u168621426 | cpp |
p02608 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
using namespace std;
int f[1010];
int main() {
int n;
scanf("%d", &n);
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
long long su... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
using namespace std;
int f[10010];
int main() {
int n;
scanf("%d", &n);
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
long long s... | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 315,054 | 315,055 | u168966134 | cpp |
p02608 | #include <bits/stdc++.h>
#define IOS \
{ \
ios::sync_with_stdio(0); \
cin.tie(0); ... | #include <bits/stdc++.h>
#define IOS \
{ \
ios::sync_with_stdio(0); \
cin.tie(0); ... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 315,058 | 315,059 | u021844224 | cpp |
p02608 | #include <bits/stdc++.h>
#define IOS \
{ \
ios::sync_with_stdio(0); \
cin.tie(0); ... | #include <bits/stdc++.h>
#define IOS \
{ \
ios::sync_with_stdio(0); \
cin.tie(0); ... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.branch.if.condition.change"
] | 315,060 | 315,059 | u021844224 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> f(N);
for (int x = 1; x * x < N; x++) {
for (int y = 1; y * y < N; y++) {
for (int z = 1; z * z < N; z++) {
int n;
n = x * x + y * y + z * z + x * y + y * z + z * x;
if (n < N)
f.... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> f(N);
for (int x = 1; x * x < N; x++) {
for (int y = 1; y * y < N; y++) {
for (int z = 1; z * z < N; z++) {
int n;
n = x * x + y * y + z * z + x * y + y * z + z * x;
if (n <= N)
f... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 315,063 | 315,064 | u393487335 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define FOR(i, n, j) for (int i = (j); i < (n); ++i)
#define rrep(i, n) for (int i = (n); i >= 0; --i)
#define ssort(n) sort((n).begin(), (n).end())
using ll = long long;
using ld = long double;
typedef pair<int, int> P;
#defi... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define FOR(i, n, j) for (int i = (j); i < (n); ++i)
#define rrep(i, n) for (int i = (n); i >= 0; --i)
#define ssort(n) sort((n).begin(), (n).end())
using ll = long long;
using ld = long double;
typedef pair<int, int> P;
#defi... | [
"preprocessor.define.value.change",
"literal.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 315,068 | 315,069 | u149757670 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int n;
cin >> n;
int total[10001];
fill(total, total + 10001, 0);
for (int x = 1; x < sqrt(n); x++) {
for (int y = 1; y < sqrt(n); y++) {
for (int z = 1; z < sqrt(n); z++) {
int num = x * x + y * y + z * z + x * y + y * z + z * ... | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int n;
cin >> n;
int total[100000];
fill_n(total, 100000, 0);
for (int x = 1; x < sqrt(n); x++) {
for (int y = 1; y < sqrt(n); y++) {
for (int z = 1; z < sqrt(n); z++) {
int num = x * x + y * y + z * z + x * y + y * z + z * x;
... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"identifier.change",
"call.function.change",
"identifier.replace.remove",
"literal.replace.add",
"call.arguments.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 315,072 | 315,073 | u546668142 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vi2 = vector<vector<int>>;
#define MP(a, b) make_pair((a), (b))
#define MT(...) make_tuple(__VA_ARGS__)
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, x) for (int i = 0; i < (int)(x); i++)
#define RE... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vi2 = vector<vector<int>>;
#define MP(a, b) make_pair((a), (b))
#define MT(...) make_tuple(__VA_ARGS__)
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, x) for (int i = 0; i < (int)(x); i++)
#define RE... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 315,080 | 315,081 | u556983878 | cpp |
p02608 | // include
// ------------------------------------------------
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
// func
// ------------------------------------------------
int CalcSumOfDigit(int n); // 各桁の和を計算する。
int getDigit(int n); // 数字の桁数を取得する。
string upper(string str); // 英字を大文字に変換する。
strin... | // include
// ------------------------------------------------
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
// func
// ------------------------------------------------
int CalcSumOfDigit(int n); // 各桁の和を計算する。
int getDigit(int n); // 数字の桁数を取得する。
string upper(string str); // 英字を大文字に変換する。
strin... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,082 | 315,083 | u610897920 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
ll ans[2001] = {};
int main() {
int n_max;
cin >> n_max;
for (int x = 1; x * x <= n_max; ++x) {
for (int y = 1; x * x + y * y + x * y <= n_max; ++y) {
for (int z = 1; x * x + y * (x + y) + z * (x + y + z) <= n_max; ++z) {
ans[x ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
ll ans[10001] = {};
int main() {
int n_max;
cin >> n_max;
for (int x = 1; x * x <= n_max; ++x) {
for (int y = 1; x * x + y * y + x * y <= n_max; ++y) {
for (int z = 1; x * x + y * (x + y) + z * (x + y + z) <= n_max; ++z) {
ans[x... | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 315,088 | 315,089 | u350561621 | cpp |
p02608 | #include <algorithm>
#include <bitset>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <vector>
typedef long long ll;
constexpr long long INFLL = 1e18;
using namespace std;
int main() {
int n;
cin >> n;
int ans = 0;
for (int i = 1; i <... | #include <algorithm>
#include <bitset>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <vector>
typedef long long ll;
constexpr long long INFLL = 1e18;
using namespace std;
int main() {
int n;
cin >> n;
int ans = 0;
for (int i = 1; i <... | [
"literal.number.change",
"assignment.value.change"
] | 315,090 | 315,091 | u648287428 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define mod 1000000007
signed main() {
int n, i, j, k;
cin >> n;
int ans[10001] = {0};
for (i = 1; i <= 50; i++) {
for (j = 1; j <= 50; j++) {
for (k = 1; k <= 50; k++) {
int c = (i * i) + (j * j) + (k * k) + (i * j) + (j * k)... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define mod 1000000007
signed main() {
int n, i, j, k;
cin >> n;
int ans[10001] = {0};
for (i = 1; i <= 100; i++) {
for (j = 1; j <= 100; j++) {
for (k = 1; k <= 100; k++) {
int c = (i * i) + (j * j) + (k * k) + (i * j) + (j *... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,092 | 315,093 | u314018838 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
t = 1;
while (t--) {
long long int ans = 0;
int n;
cin >> n;
unordered_map<int, int> mp;
for (int i = 1; i <= 50; i++) {
for (int j = 1; j <= 50; j++) {
for (int... | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
t = 1;
while (t--) {
long long int ans = 0;
int n;
cin >> n;
map<int, int> mp;
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; ... | [
"variable_declaration.type.change",
"literal.number.change",
"control_flow.loop.condition.change"
] | 315,094 | 315,095 | u238560506 | cpp |
p02608 |
#include <bits/stdc++.h>
using namespace std;
// defines...
#define ll long long
#define tata return;
#define pb push_back
#define mp make_pair
#define in insert
#define run \
ios_base::sync_with_stdio(false); ... |
#include <bits/stdc++.h>
using namespace std;
// defines...
#define ll long long
#define tata return;
#define pb push_back
#define mp make_pair
#define in insert
#define run \
ios_base::sync_with_stdio(false); ... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,096 | 315,097 | u971823266 | cpp |
p02608 | #include <bits/stdc++.h>
/*#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
*/
using namespace std;
#define m 1000000001
#define rep(i, a, b) for (int i = a; i < b; ++i)
#define repb(i, a, b) for (int i = a; i >= b; --i)
#define repv(arr) for (auto it = arr[i].begin(); it != arr[i].end(); ++it)
#define vi v... | #include <bits/stdc++.h>
/*#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
*/
using namespace std;
#define m 1000000001
#define rep(i, a, b) for (int i = a; i < b; ++i)
#define repb(i, a, b) for (int i = a; i >= b; --i)
#define repv(arr) for (auto it = arr[i].begin(); it != arr[i].end(); ++it)
#define vi v... | [
"expression.operation.binary.add"
] | 315,098 | 315,099 | u900601630 | cpp |
p02608 | #include <sys/time.h>
#include <algorithm>
#include <cctype>
#include <cmath>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
using ll = long long;
using P = pair<double... | #include <sys/time.h>
#include <algorithm>
#include <cctype>
#include <cmath>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
using ll = long long;
using P = pair<double... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 315,100 | 315,101 | u389009751 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll n;
cin >> n;
vector<ll> a(1000000, 0);
for (ll l = 3; l <= 105; l++) {
for (ll i = 1; i <= l / 3; i++) {
for (ll j = i; j * 2 <= l - i; j++) {
ll k = l - i - j;
ll res = i * i + j * j + k * k + i * j +... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll n;
cin >> n;
vector<ll> a(1000000, 0);
for (ll l = 3; l <= 200; l++) {
for (ll i = 1; i <= l / 3; i++) {
for (ll j = i; j * 2 <= l - i; j++) {
ll k = l - i - j;
ll res = i * i + j * j + k * k + i * j +... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change"
] | 315,106 | 315,107 | u955282280 | cpp |
p02608 | /***** author : C0d1ngPhenomena *****/
#include <bits/stdc++.h>
#define endl "\n"
#define ll long long int
#define TestCases \
int T; \
cin >> T; ... | /***** author : C0d1ngPhenomena *****/
#include <bits/stdc++.h>
#define endl "\n"
#define ll long long int
#define TestCases \
int T; \
cin >> T; ... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 315,123 | 315,124 | u264629567 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
typedef pair<int, int> P;
#define MAX 100005
#define INF 1001001001
int main(int, char **) {
int n;
cin >> n;
int max = sqrt(n) + 1;
rep(i, n + 1) {
int ans = 0;
for (int x = 1; x <=... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
typedef pair<int, int> P;
#define MAX 100005
#define INF 1001001001
int main(int, char **) {
int n;
cin >> n;
int max = sqrt(n) + 1;
rep(i, n) {
int ans = 0;
for (int x = 1; x <= max... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 315,127 | 315,128 | u639203570 | cpp |
p02608 | #include <algorithm>
#include <climits>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
//エイリアス
using namespace std;
using ll = long long;
using pll = pair<ll, ll>;
class S... | #include <algorithm>
#include <climits>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
//エイリアス
using namespace std;
using ll = long long;
using pll = pair<ll, ll>;
class S... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 315,129 | 315,130 | u269291896 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
void solve() {
int N;
cin >> N;
vector<int> f(N + 1, 0);
int tmp;
for (int x = 1; x < 40; x++) {
for (int y = 1; y < 40; y++) {
for (int z = 1; z < 40; z++) {
tmp = (x + y + z) * (x + y + z) - (x * y + y * z + z * x);
if (tmp <= N) {
... | #include <bits/stdc++.h>
using namespace std;
void solve() {
int N;
cin >> N;
vector<int> f(N + 1, 0);
int tmp;
for (int x = 1; x < 100; x++) {
for (int y = 1; y < 100; y++) {
for (int z = 1; z < 100; z++) {
tmp = (x + y + z) * (x + y + z) - (x * y + y * z + z * x);
if (tmp <= N) {... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,133 | 315,134 | u449922162 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int x, y, z;
map<long long, long long> ans;
for (x = 1; x <= 100; x++) {
for (y = 1; y <= 100; y++) {
for (z = 1; z <= 100; z++) {
long long a = x * x + y * y + z * z + x * y + y * z + z * x;
ans[a]++;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int x, y, z;
map<long long, long long> ans;
for (x = 1; x <= 100; x++) {
for (y = 1; y <= 100; y++) {
for (z = 1; z <= 100; z++) {
long long a = x * x + y * y + z * z + x * y + y * z + z * x;
ans[a]++;
... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,140 | 315,141 | u494609869 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define rep(i, n) \
; \
for (long long i = 0; i < (n); i++)
using ll = long long;
using P = pair<long long, long lon... | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define rep(i, n) \
; \
for (long long i = 0; i < (n); i++)
using ll = long long;
using P = pair<long long, long lon... | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 315,149 | 315,150 | u583628727 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define rep(i, n) \
; \
for (long long i = 0; i < (n); i++)
using ll = long long;
using P = pair<long long, long lon... | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define rep(i, n) \
; \
for (long long i = 0; i < (n); i++)
using ll = long long;
using P = pair<long long, long lon... | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 315,151 | 315,150 | u583628727 | cpp |
p02608 | #include <algorithm>
#include <climits>
#include <cmath>
#include <fstream>
#include <iostream>
#include <queue>
#include <sstream>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std;
const int MAX_COUNT = 100;
int main() {
ios_base::sync_with_s... | #include <algorithm>
#include <climits>
#include <cmath>
#include <fstream>
#include <iostream>
#include <queue>
#include <sstream>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std;
const int MAX_COUNT = 100;
int main() {
ios_base::sync_with_s... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 315,152 | 315,153 | u777535758 | cpp |
p02608 | #include <iomanip>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> data(10009, 0);
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
if (i * i + j * j + k *... | #include <iomanip>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> data(10019, 0);
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
if (i * i + j * j + k *... | [
"literal.number.change",
"call.arguments.change",
"control_flow.branch.if.condition.change"
] | 315,154 | 315,155 | u154217422 | cpp |
p02608 | #include <iomanip>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> data(10009, 0);
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
if (i * i + j * j + k *... | #include <iomanip>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> data(10019, 0);
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
if (i * i + j * j + k *... | [
"literal.number.change",
"call.arguments.change",
"control_flow.branch.if.condition.change"
] | 315,156 | 315,155 | u154217422 | cpp |
p02608 | #include <iomanip>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> data(1009, 0);
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
if (i * i + j * j + k * ... | #include <iomanip>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> data(10019, 0);
for (int i = 1; i <= 100; i++) {
for (int j = 1; j <= 100; j++) {
for (int k = 1; k <= 100; k++) {
if (i * i + j * j + k *... | [
"literal.number.change",
"call.arguments.change",
"control_flow.branch.if.condition.change"
] | 315,157 | 315,155 | u154217422 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define all(v) begin(v), end(v)
#define endl '\n';
#define int long long
#define pii pair<int, int>
#define sz(x) (int)x.size()
void test_case() {
int n;
cin >> n;
const int x = 1 + (int)sqrt(n);
vector<int> a(n + 1, 0);
for (int i = 1; i <= x; i++) {
for (i... | #include <bits/stdc++.h>
using namespace std;
#define all(v) begin(v), end(v)
#define endl '\n';
#define int long long
#define pii pair<int, int>
#define sz(x) (int)x.size()
void test_case() {
int n;
cin >> n;
const int x = 1 + (int)sqrt(n);
vector<int> a(n + 1, 0);
for (int i = 1; i <= x; i++) {
for (i... | [
"assignment.value.change"
] | 315,158 | 315,159 | u395150805 | cpp |
p02608 | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
int ans[10007];
int main() {
for (int x = 1; x <= 100; x++) {
for (int y = 1; y <= 100; y++) {
for (int z = 1; z <= 100; z++) {
int a = x + y, b = y + z, c = x + z;
int t = a * a + b * b + c * c;
if (t <= ... | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
int ans[10007];
int main() {
for (int x = 1; x <= 100; x++) {
for (int y = 1; y <= 100; y++) {
for (int z = 1; z <= 100; z++) {
int a = x + y, b = y + z, c = x + z;
int t = a * a + b * b + c * c;
if (t <= ... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 315,163 | 315,164 | u575566754 | cpp |
p02608 | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
int ans[1007];
int main() {
for (int x = 1; x <= 100; x++) {
for (int y = 1; y <= 100; y++) {
for (int z = 1; z <= 100; z++) {
int a = x + y, b = y + z, c = x + z;
int t = a * a + b * b + c * c;
if (t <= 2... | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
int ans[10007];
int main() {
for (int x = 1; x <= 100; x++) {
for (int y = 1; y <= 100; y++) {
for (int z = 1; z <= 100; z++) {
int a = x + y, b = y + z, c = x + z;
int t = a * a + b * b + c * c;
if (t <= ... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.branch.if.condition.change"
] | 315,165 | 315,164 | u575566754 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> ans(10001, 0);
for (int i = 1; i < 100; i++) {
for (int j = 1; j < 100; j++) {
for (int k = 1; k < 100; k++) {
int a = i * i + j * j + k * k + i * j + j * k + k * i;
if (a <= 1000) {
ans.... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> ans(10001, 0);
for (int i = 1; i < 100; i++) {
for (int j = 1; j < 100; j++) {
for (int k = 1; k < 100; k++) {
int a = i * i + j * j + k * k + i * j + j * k + k * i;
if (a <= 10000) {
ans... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 315,168 | 315,169 | u042871414 | cpp |
p02608 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
int main() {
int n;
cin >> n;
vector<int> ans(n + 1, 0);
for (int x = 1; x * x <= n; x++) {
for (int y = 1; y * y <= n; y++) {
for (int z = 1;; z++) {
int f = x * x + y * y + z ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
int main() {
int n;
cin >> n;
vector<int> ans(n + 1, 0);
for (int x = 1; x * x <= n; x++) {
for (int y = 1; y * y <= n; y++) {
for (int z = 1;; z++) {
int f = x * x + y * y + z ... | [
"expression.operation.binary.remove"
] | 315,174 | 315,175 | u489302942 | cpp |
p02608 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const int INF = 0x3f3f3f3f;
const double pi = acos(-1), eps = 1e-8;
const int maxn = 1 << 17;
con... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const int INF = 0x3f3f3f3f;
const double pi = acos(-1), eps = 1e-8;
const int maxn = 1 << 17;
con... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,180 | 315,181 | u564836901 | cpp |
p02608 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const int INF = 0x3f3f3f3f;
const double pi = acos(-1), eps = 1e-8;
const int maxn = 1 << 17;
con... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const int INF = 0x3f3f3f3f;
const double pi = acos(-1), eps = 1e-8;
const int maxn = 1 << 17;
con... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,182 | 315,181 | u564836901 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int64_t MOD = 1000000007;
int main() {
vector<int> S(10050, 0);
for (int i = 1; i * i < 10001; i++) {
for (int j = 1; j * j < 10001; j++) {
for (int k = 1; k * k < 01001; k++) {
int64_t a = i * i + ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int64_t MOD = 1000000007;
int main() {
vector<int> S(10050, 0);
for (int i = 1; i * i < 10001; i++) {
for (int j = 1; j * j < 10001; j++) {
for (int k = 1; k * k < 10001; k++) {
int64_t a = i * i + ... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,183 | 315,184 | u153686508 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int64_t MOD = 1000000007;
int main() {
vector<int> S(1050, 0);
for (int i = 1; i * i < 1001; i++) {
for (int j = 1; j * j < 1001; j++) {
for (int k = 1; k * k < 1001; k++) {
int64_t a = i * i + j * ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int64_t MOD = 1000000007;
int main() {
vector<int> S(10050, 0);
for (int i = 1; i * i < 10001; i++) {
for (int j = 1; j * j < 10001; j++) {
for (int k = 1; k * k < 10001; k++) {
int64_t a = i * i + ... | [
"literal.number.change",
"call.arguments.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change"
] | 315,185 | 315,184 | u153686508 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> A(N + 1, 0);
for (int X = 1; X <= 100; X++) {
for (int Y = 1; Y <= 100; Y++) {
for (int Z = 1; Z <= 100; Z++) {
if (X * X + Y * Y + Z * Z + X * Y + Y * Z + Z + X <= N) {
A.at(X * X + Y * Y + Z * ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> A(N + 1, 0);
for (int X = 1; X <= 100; X++) {
for (int Y = 1; Y <= 100; Y++) {
for (int Z = 1; Z <= 100; Z++) {
if (X * X + Y * Y + Z * Z + X * Y + Y * Z + Z * X <= N) {
A.at(X * X + Y * Y + Z * ... | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 315,188 | 315,189 | u817769480 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define mod1 1000000007
#define mod2 998244353
#define int long long int
#define pii pair<int, int>
#define vpii vector<pii>
#define vi vector<int>
#define fi first
#define se second
#define psb push_back
#define ppb pop_back
#define fio ... | #include <bits/stdc++.h>
using namespace std;
#define mod1 1000000007
#define mod2 998244353
#define int long long int
#define pii pair<int, int>
#define vpii vector<pii>
#define vi vector<int>
#define fi first
#define se second
#define psb push_back
#define ppb pop_back
#define fio ... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"identifier.replace.add",
"literal.replace.remove"
] | 315,194 | 315,195 | u167053449 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ll l, r, i, j, k, n, m, x;
cin >> n;
ll ar[1005] = {0};
for (i = 1; i <= 100; i++) {
for (j = 1; j <= 100; j++) {
for (k = 1; k <= 100; k++) {
// cout<<i<<' '<<j<<' '<<k<<endl;
ll x = i * i + j * j +... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ll l, r, i, j, k, n, m, x;
cin >> n;
ll ar[10005] = {0};
for (i = 1; i <= 100; i++) {
for (j = 1; j <= 100; j++) {
for (k = 1; k <= 100; k++) {
// cout<<i<<' '<<j<<' '<<k<<endl;
ll x = i * i + j * j ... | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 315,198 | 315,199 | u313845786 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
template <class T> T input() {
T t;
cin >> t;
return t;
}
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define REP(i, b) FOR(i, 0, b)
#define RFOR(i, a, b) for (ll i = a - 1; i >= b; i--)
#define RREP(i, a) RFOR(i, a, 0)
#define REPALL(i, x) for (ll i = 0; i < x.si... | #include <bits/stdc++.h>
using namespace std;
template <class T> T input() {
T t;
cin >> t;
return t;
}
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define REP(i, b) FOR(i, 0, b)
#define RFOR(i, a, b) for (ll i = a - 1; i >= b; i--)
#define RREP(i, a) RFOR(i, a, 0)
#define REPALL(i, x) for (ll i = 0; i < x.si... | [
"literal.number.change",
"assignment.value.change"
] | 315,207 | 315,208 | u007637377 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
template <class T> T input() {
T t;
cin >> t;
return t;
}
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define REP(i, b) FOR(i, 0, b)
#define RFOR(i, a, b) for (ll i = a - 1; i >= b; i--)
#define RREP(i, a) RFOR(i, a, 0)
#define REPALL(i, x) for (ll i = 0; i < x.si... | #include <bits/stdc++.h>
using namespace std;
template <class T> T input() {
T t;
cin >> t;
return t;
}
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define REP(i, b) FOR(i, 0, b)
#define RFOR(i, a, b) for (ll i = a - 1; i >= b; i--)
#define RREP(i, a) RFOR(i, a, 0)
#define REPALL(i, x) for (ll i = 0; i < x.si... | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"assignment.value.change"
] | 315,209 | 315,208 | u007637377 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
template <class T> T input() {
T t;
cin >> t;
return t;
}
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define REP(i, b) FOR(i, 0, b)
#define RFOR(i, a, b) for (ll i = a - 1; i >= b; i--)
#define RREP(i, a) RFOR(i, a, 0)
#define REPALL(i, x) for (ll i = 0; i < x.si... | #include <bits/stdc++.h>
using namespace std;
template <class T> T input() {
T t;
cin >> t;
return t;
}
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define REP(i, b) FOR(i, 0, b)
#define RFOR(i, a, b) for (ll i = a - 1; i >= b; i--)
#define RREP(i, a) RFOR(i, a, 0)
#define REPALL(i, x) for (ll i = 0; i < x.si... | [
"variable_declaration.type.change",
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"assignment.value.change"
] | 315,210 | 315,208 | u007637377 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define ALL(v) (v).begin(), (v).end()
using ll = long long;
constexpr int INF = 1e9;
constexpr long long LINF = 1e18;
constexpr long long MOD = 1e9 + 7;
int f[] = {
0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, 0, 0, ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define ALL(v) (v).begin(), (v).end()
using ll = long long;
constexpr int INF = 1e9;
constexpr long long LINF = 1e18;
constexpr long long MOD = 1e9 + 7;
int f[] = {
0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, 0, 0, ... | [
"expression.operation.binary.add"
] | 315,215 | 315,216 | u366398972 | cpp |
p02608 | #include <bits/stdc++.h>
#include <cstdint>
#include <vector>
#define FOR(i, l, r) for (int i = (l); i < (r); ++i)
#define RFOR(i, l, r) for (int i = (l); i >= (int)(r); i--)
#define rep(i, n) FOR(i, 0, n)
#define rrep(i, n) RFOR(i, n - 1, 0)
#define int long long
using namespace std;
const int MX = 1e6;
const int inf... | #include <bits/stdc++.h>
#include <cstdint>
#include <vector>
#define FOR(i, l, r) for (int i = (l); i < (r); ++i)
#define RFOR(i, l, r) for (int i = (l); i >= (int)(r); i--)
#define rep(i, n) FOR(i, 0, n)
#define rrep(i, n) RFOR(i, n - 1, 0)
#define int long long
using namespace std;
const int MX = 1e6;
const int inf... | [
"identifier.change",
"call.function.change",
"expression.operation.binary.change",
"call.arguments.add"
] | 315,224 | 315,225 | u762160119 | cpp |
p02608 | #include <bits/stdc++.h>
#include <cstdint>
#include <vector>
#define FOR(i, l, r) for (int i = (l); i < (r); ++i)
#define RFOR(i, l, r) for (int i = (l); i >= (int)(r); i--)
#define rep(i, n) FOR(i, 0, n)
#define rrep(i, n) RFOR(i, n - 1, 0)
#define int long long
using namespace std;
const int MX = 1e6;
const int inf... | #include <bits/stdc++.h>
#include <cstdint>
#include <vector>
#define FOR(i, l, r) for (int i = (l); i < (r); ++i)
#define RFOR(i, l, r) for (int i = (l); i >= (int)(r); i--)
#define rep(i, n) FOR(i, 0, n)
#define rrep(i, n) RFOR(i, n - 1, 0)
#define int long long
using namespace std;
const int MX = 1e6;
const int inf... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"identifier.change",
"call.function.change",
"expression.operation.binary.change",
"call.arguments.add"
] | 315,226 | 315,225 | u762160119 | cpp |
p02608 | #include <bits/stdc++.h>
//#include <boost/multiprecision/cpp_int.hpp>
using namespace std;
// using namespace boost::multiprecision;
typedef long long int ll;
typedef long double ld;
#define MOD 1000000007
#define ALL(obj) (obj).begin(), (obj).end()
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
... | #include <bits/stdc++.h>
//#include <boost/multiprecision/cpp_int.hpp>
using namespace std;
// using namespace boost::multiprecision;
typedef long long int ll;
typedef long double ld;
#define MOD 1000000007
#define ALL(obj) (obj).begin(), (obj).end()
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,227 | 315,228 | u273928723 | cpp |
p02608 | #include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
int dp[1005] = {0};
int main() {
int n;
cin >> n;
for (int i = 1; i * i <= n; i++)
for (int j = 1; j * j + i * i <= n; ++j) {
for (int k = 1; k * k <= n; ++k) {
int num = i * i + j * j + k * k + i * j + j * k + k * ... | #include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
int dp[10005] = {0};
int main() {
int n;
cin >> n;
for (int i = 1; i * i <= n; i++)
for (int j = 1; j * j <= n; ++j) {
for (int k = 1; k * k <= n; ++k) {
int num = i * i + j * j + k * k + i * j + j * k + k * i;
... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 315,231 | 315,230 | u447932338 | cpp |
p02608 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <map>
#include <queue>
#include <set>
#include <vector>
using namespace std;
#define ll long long
int arr[10001];
int main(void) {
int x, y, z, n, temp;
scanf("%d", &n);
n = sqrt(n);
for (x = 1; x <= n; x++)... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <map>
#include <queue>
#include <set>
#include <vector>
using namespace std;
#define ll long long
int arr[10001];
int main(void) {
int x, y, z, k, n, temp;
scanf("%d", &n);
k = sqrt(n);
for (x = 1; x <= k; x... | [
"variable_declaration.add",
"assignment.variable.change",
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,232 | 315,233 | u645304183 | cpp |
p02608 | #include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
typedef long long ll;
typedef std::vector<long long> vll;
typedef std::vector<std::vector<long long>> vvll;
typedef long double ld;
typedef std::vector<long double> vld;
typedef std::vector<std::vector<long double>> vvld;
using namespace std;
v... | #include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
typedef long long ll;
typedef std::vector<long long> vll;
typedef std::vector<std::vector<long long>> vvll;
typedef long double ld;
typedef std::vector<long double> vld;
typedef std::vector<std::vector<long double>> vvld;
using namespace std;
v... | [
"expression.operation.binary.remove"
] | 315,236 | 315,237 | u922790134 | cpp |
p02608 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int ans[10004];
int n;
cin >> n;
int x, y, z;
for (int i = 0; i <= 10000; i++)
ans[i] = 0;
for (x = 1; x <= 100; x++) {
for (y = 1; y <= 100; y++) {
for (z = 1; z <= 100; z++) {
int t = x * x + y * y + z *... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int ans[10004];
int n;
cin >> n;
int x, y, z;
for (int i = 0; i <= 10000; i++)
ans[i] = 0;
for (x = 1; x <= 100; x++) {
for (y = 1; y <= 100; y++) {
for (z = 1; z <= 100; z++) {
int t = x * x + y * y + z *... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 315,240 | 315,241 | u131663893 | cpp |
p02608 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int ans[10004];
int n;
cin >> n;
int x, y, z;
for (int i = 0; i <= 10000; i++)
ans[i] = 0;
for (x = 1; x <= 100; x++) {
for (y = 1; y <= 100; y++) {
for (z = 1; z <= 100; z++) {
int t = x * x + y * y + z *... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int ans[10004];
int n;
cin >> n;
int x, y, z;
for (int i = 0; i <= 10000; i++)
ans[i] = 0;
for (x = 1; x <= 100; x++) {
for (y = 1; y <= 100; y++) {
for (z = 1; z <= 100; z++) {
int t = x * x + y * y + z *... | [
"variable_declaration.value.change",
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.for.initializer.change"
] | 315,242 | 315,241 | u131663893 | cpp |
p02608 | #include <bits/stdc++.h>
#define INF 5000000000000000000
#define ll long long
#define pll pair<ll, ll>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
ll N;
cin >> N;
for (ll i = 1; i <= N; ++i) {
ll ans = 0;
for (ll x = 1; x * x <= i; ++x) {
for (ll y = x; y * ... | #include <bits/stdc++.h>
#define INF 5000000000000000000
#define ll long long
#define pll pair<ll, ll>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
ll N;
cin >> N;
for (ll i = 1; i <= N; ++i) {
ll ans = 0;
for (ll x = 1; x * x <= i; ++x) {
for (ll y = x; y * ... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 315,243 | 315,244 | u023958502 | cpp |
p02608 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
#define SP << " "
#define LLi long long int
using namespace std;
int imax = 2147483647;
long long int llimax = 9223372036854775807;
// int型vectorを出力
void PV(vector<int> pvv) {
rep(i, pvv.size()) cout <<... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
#define SP << " "
#define LLi long long int
using namespace std;
int imax = 2147483647;
long long int llimax = 9223372036854775807;
// int型vectorを出力
void PV(vector<int> pvv) {
rep(i, pvv.size()) cout <<... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,247 | 315,246 | u672995180 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
#define DUMP(x) cout << #x << " = " << (x) << endl;
#define FOR(i, m, n) for (ll i = m; i < n; i++)
#define IFOR(i, m, n) for (ll i = n - 1; i >= m; i--)
#define REP(i, n) FOR(i, 0, n)
#define IREP(i, n) IFOR(i, 0, n)
#define FO... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
#define DUMP(x) cout << #x << " = " << (x) << endl;
#define FOR(i, m, n) for (ll i = m; i < n; i++)
#define IFOR(i, m, n) for (ll i = n - 1; i >= m; i--)
#define REP(i, n) FOR(i, 0, n)
#define IREP(i, n) IFOR(i, 0, n)
#define FO... | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove"
] | 315,254 | 315,255 | u708550576 | cpp |
p02608 | #include <bits/stdc++.h>
#define ll long long int
#define ull unsigned long long
#define ff first
#define ss second
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | #include <bits/stdc++.h>
#define ll long long int
#define ull unsigned long long
#define ff first
#define ss second
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 315,260 | 315,261 | u601681349 | cpp |
p02608 | #include <bits/stdc++.h>
#ifdef __DEBUG__
#define DBG(X) cout << #X << " = " << (X) << endl;
#define SAY(X) cout << (X) << endl;
#else
#define DBG(X)
#define SAY(X)
#endif
using namespace std;
using ll = long long int;
using ull = unsigned long long int;
using ld = long double;
using pii = pair<int, int>;
using pll =... | #include <bits/stdc++.h>
#ifdef __DEBUG__
#define DBG(X) cout << #X << " = " << (X) << endl;
#define SAY(X) cout << (X) << endl;
#else
#define DBG(X)
#define SAY(X)
#endif
using namespace std;
using ll = long long int;
using ull = unsigned long long int;
using ld = long double;
using pii = pair<int, int>;
using pll =... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 315,264 | 315,265 | u858670323 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vll = vector<ll>;
using vvll = vector<vll>;
using vvvll = vector<vvll>;
#define REP(i, n, m) for (ll i = n; i < (ll)m; ++i)
#define IREP(i, n, m) for (ll i = n - 1; i >= m; --i)
#define rep(i, n) REP(i, 0, n)
#define irep(i, n) IREP(i, n, 0)
#d... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vll = vector<ll>;
using vvll = vector<vll>;
using vvvll = vector<vvll>;
#define REP(i, n, m) for (ll i = n; i < (ll)m; ++i)
#define IREP(i, n, m) for (ll i = n - 1; i >= m; --i)
#define rep(i, n) REP(i, 0, n)
#define irep(i, n) IREP(i, n, 0)
#d... | [
"literal.number.change",
"call.arguments.change"
] | 315,266 | 315,267 | u059082716 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
using lli = int_fast64_t;
using ulli = unsigned long long;
#define debug(x) cerr << #x << " : " << x << endl
#define debugv(x) \
cerr << #x << " : {"; \
... | #include <bits/stdc++.h>
using namespace std;
using lli = int_fast64_t;
using ulli = unsigned long long;
#define debug(x) cerr << #x << " : " << x << endl
#define debugv(x) \
cerr << #x << " : {"; \
... | [
"control_flow.loop.for.condition.change"
] | 315,273 | 315,274 | u031593168 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, ini, n) for (int i = ini; i < n; i++)
#define _rep(i, ini, n) for (int i = ini; i >= n; i--)
#define ToEnd(a) a.begin(), a.end()
uint64_t MOD = 1000000007;
int main() {
int N;
cin >> N;
vector<int64_t> Ans(100000, 0);
rep(x, 1, 101) {
rep(y, 1, ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, ini, n) for (int i = ini; i < n; i++)
#define _rep(i, ini, n) for (int i = ini; i >= n; i--)
#define ToEnd(a) a.begin(), a.end()
uint64_t MOD = 1000000007;
int main() {
int N;
cin >> N;
vector<int64_t> Ans(100000, 0);
rep(x, 1, 101) {
rep(y, 1, ... | [
"control_flow.branch.if.condition.change",
"call.add"
] | 315,275 | 315,276 | u190679129 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define all(a) a.begin(), a.end()
using ll = long long;
const int INF = 1 << 30;
const ll INFll = 1LL << 62;
const int mod = int(1e9) + 7;
using P = pair<ll, ll>;
using ld = long double;
int main() {
ll n;
cin >> n;
vector<ll> ans(100000, 0);
for (int x = 1; x <= ... | #include <bits/stdc++.h>
using namespace std;
#define all(a) a.begin(), a.end()
using ll = long long;
const int INF = 1 << 30;
const ll INFll = 1LL << 62;
const int mod = int(1e9) + 7;
using P = pair<ll, ll>;
using ld = long double;
int main() {
ll n;
cin >> n;
vector<ll> ans(100000, 0);
for (int x = 1; x <= ... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 315,278 | 315,279 | u525008368 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout << setprecision(20) << fixed;
int N;
cin >> N;
vector<int> ans(10000000);
for (int i = 1; i < 500; i++) {
for (int j = 1; j < 500; j++) {
for (int t = 1; t < 500; t++) {
int x = i * ... | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout << setprecision(20) << fixed;
int N;
cin >> N;
vector<int> ans(10000000);
for (int i = 1; i < 1000; i++) {
for (int j = 1; j < 500; j++) {
for (int t = 1; t < 500; t++) {
int x = i *... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 315,284 | 315,285 | u686962993 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int N;
cin >> N;
vector<int> dp(2000000, 0);
for (int i = 1; i < 100; i++) {
for (int j = 1; j < 100; j++) {
for (int k = 1; k < 100; k++) {
int tmp = i * i + j * j + k * k + i * j + j * k + k * i;
dp[tm... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int N;
cin >> N;
vector<int> dp(2000000, 0);
for (int i = 1; i < 200; i++) {
for (int j = 1; j < 200; j++) {
for (int k = 1; k < 200; k++) {
int tmp = i * i + j * j + k * k + i * j + j * k + k * i;
dp[tm... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 315,286 | 315,287 | u412408615 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define sz(x) int(x.size())
typedef long long ll;
typedef long double ld;
typedef pair<int, int> P;
constexpr int INF = 2e9;
constexpr int mod = 1e9 + 7;
int main() {
int n;
cin >> n;
vector<int> cnt(1001, 0);
for (i... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define sz(x) int(x.size())
typedef long long ll;
typedef long double ld;
typedef pair<int, int> P;
constexpr int INF = 2e9;
constexpr int mod = 1e9 + 7;
int main() {
int n;
cin >> n;
vector<int> cnt(10001, 0);
for (... | [
"literal.number.change",
"call.arguments.change"
] | 315,294 | 315,295 | u108540384 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define sz(x) int(x.size())
typedef long long ll;
typedef long double ld;
typedef pair<int, int> P;
constexpr int INF = 2e9;
constexpr int mod = 1e9 + 7;
int main() {
int n;
cin >> n;
vector<int> cnt(1001, 0);
for (i... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define sz(x) int(x.size())
typedef long long ll;
typedef long double ld;
typedef pair<int, int> P;
constexpr int INF = 2e9;
constexpr int mod = 1e9 + 7;
int main() {
int n;
cin >> n;
vector<int> cnt(10001, 0);
for (... | [
"literal.number.change",
"call.arguments.change",
"control_flow.branch.if.condition.change"
] | 315,296 | 315,295 | u108540384 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define sz(x) int(x.size())
typedef long long ll;
typedef long double ld;
typedef pair<int, int> P;
constexpr int INF = 2e9;
constexpr int mod = 1e9 + 7;
int main() {
int n;
cin >> n;
vector<int> cnt(1001, 0);
for (i... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define sz(x) int(x.size())
typedef long long ll;
typedef long double ld;
typedef pair<int, int> P;
constexpr int INF = 2e9;
constexpr int mod = 1e9 + 7;
int main() {
int n;
cin >> n;
vector<int> cnt(10001, 0);
for (... | [
"literal.number.change",
"call.arguments.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change"
] | 315,297 | 315,295 | u108540384 | cpp |
p02608 | #include <bits/stdc++.h>
typedef long long int ll;
typedef long double ld;
#define sync \
ios_base::sync_with_stdio(false); \
cin.tie(NULL)
#define input(arr, n) ... | #include <bits/stdc++.h>
typedef long long int ll;
typedef long double ld;
#define sync \
ios_base::sync_with_stdio(false); \
cin.tie(NULL)
#define input(arr, n) ... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.branch.if.condition.change"
] | 315,300 | 315,301 | u181228520 | cpp |
p02608 | #include <bits/stdc++.h>
#pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#define ll long long
#define eps 1e-7
#define all(x) ((x).begin()), ((x).end())
#define usecppio \
ios::sync_with_stdio(0); ... | #include <bits/stdc++.h>
#pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#define ll long long
#define eps 1e-7
#define all(x) ((x).begin()), ((x).end())
#define usecppio \
ios::sync_with_stdio(0); ... | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 315,304 | 315,305 | u136930834 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int N;
cin >> N;
vector<int> ans(N + 1, 0);
for (int i = 0; i * i <= N; ++i) {
for (int j = 0; i * i + j * j + i * j <= N; ++j) {
for (int k = 0; i * i + j * j + k * k + i * j + j * k + k * i <= N; ++k) {
ans[i *... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int N;
cin >> N;
vector<int> ans(N + 1, 0);
for (int i = 1; i * i <= N; ++i) {
for (int j = 1; i * i + j * j + i * j <= N; ++j) {
for (int k = 1; i * i + j * j + k * k + i * j + j * k + k * i <= N; ++k) {
ans[i *... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 315,306 | 315,307 | u858575800 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
long long ans[10004], n;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
cin >> n;
for (int i = 1; n >= i * i; i++) {
for (int j = 1; n >= j * j; j++) {
for (int k = 1; n >= k * k; k++) {
ans[i * i + j * j + k * k + i * j + i * k +... | #include <bits/stdc++.h>
using namespace std;
long long ans[100005], n;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
cin >> n;
for (int i = 1; n >= i * i; i++) {
for (int j = 1; n >= j * j; j++) {
for (int k = 1; n >= k * k; k++) {
ans[i * i + j * j + k * k + i * j + i * k ... | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 315,308 | 315,309 | u587171482 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
const int INF = 1e9;
int main() {
int n;
const int max_n = 1e4;
cin >> n;
int ans = 0;
int res;
vector<int> f(1e5, 0);
for (int i = 1; i < 120; i++) {
for (int j = 1; j < 120; j++) {
for (int k = 1; k < 120; k++) {
... | #include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
const int INF = 1e9;
int main() {
int n;
const int max_n = 1e4;
cin >> n;
int ans = 0;
int res;
vector<int> f(1e5, 0);
for (int i = 1; i < 120; i++) {
for (int j = 1; j < 120; j++) {
for (int k = 1; k < 120; k++) {
... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 315,312 | 315,313 | u906832993 | cpp |
p02608 | #ifdef LOCAL
#define _GLIBCXX_DEBUG
#define __clock__
#else
#pragma GCC optimize("Ofast")
#endif
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using VI = vector<ll>;
using VV = vector<VI>;
using VS = vector<string>;
using PII = pair<ll, ll>;
// tourist set
template <typena... | #ifdef LOCAL
#define _GLIBCXX_DEBUG
#define __clock__
#else
#pragma GCC optimize("Ofast")
#endif
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using VI = vector<ll>;
using VV = vector<VI>;
using VS = vector<string>;
using PII = pair<ll, ll>;
// tourist set
template <typena... | [
"literal.number.change",
"call.arguments.change"
] | 315,314 | 315,315 | u432688695 | cpp |
p02608 | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define llu unsigned long long int
#define sa(a, n, t) \
for (int ii = 0; ii < n; ii++) \
scanf("%" #t "", &(a)[ii])
#define rep(i, n) for ... | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define llu unsigned long long int
#define sa(a, n, t) \
for (int ii = 0; ii < n; ii++) \
scanf("%" #t "", &(a)[ii])
#define rep(i, n) for ... | [
"variable_declaration.value.change"
] | 315,316 | 315,317 | u895052567 | cpp |
p02608 | // I make this just for fun because i'm done
// Aimi Haraguni >> Konomi Suzuki >> Yui >> Ikimono Gakari >> Garnidelia >>
// Kalafina >> Eir Aoi. .. dude? problems that involves any kind of persistent
// data structures are the best of the best, are not them?
// #pragma GCC optimize ("Ofast,unroll-loops")
// #pragma... | // I make this just for fun because i'm done
// Aimi Haraguni >> Konomi Suzuki >> Yui >> Ikimono Gakari >> Garnidelia >>
// Kalafina >> Eir Aoi. .. dude? problems that involves any kind of persistent
// data structures are the best of the best, are not them?
// #pragma GCC optimize ("Ofast,unroll-loops")
// #pragma... | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 315,318 | 315,319 | u199278152 | cpp |
p02608 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define ll long long int
#define pb push_back
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define mem(x, y) \
memset(x, y, ... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define ll long long int
#define pb push_back
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define mem(x, y) \
memset(x, y, ... | [
"literal.number.change",
"control_flow.loop.condition.change"
] | 315,320 | 315,321 | u741672523 | cpp |
p02608 | #include <algorithm>
#include <complex>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespace std;
long lon... | #include <algorithm>
#include <complex>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespace std;
long lon... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 315,322 | 315,323 | u545206239 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.