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 |
|---|---|---|---|---|---|---|---|
p03860 | #include <stdio.h>
int main(void) {
char a[100], b[100], c[100];
scanf("%s %s %s", a, b, c);
printf("A%sC", b[0]);
}
| #include <stdio.h>
int main(void) {
char a[100], b[100], c[100];
scanf("%s %s %s", a, b, c);
printf("A%cC", b[0]);
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,470,404 | 1,470,405 | u995322391 | cpp |
p03860 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef vector<int> VI;
int main() {
string a, x, c;
cin >> a >> x >> c;
cout << "A" << x[0] << "c" << endl;
... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef vector<int> VI;
int main() {
string a, x, c;
cin >> a >> x >> c;
cout << "A" << x[0] << "C" << endl;
... | [
"misc.typo",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,470,413 | 1,470,414 | u534417782 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, b;
cin >> a >> s >> b;
cout << a.at(0) << a.at(0) << a.at(0) << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, b;
cin >> a >> s >> b;
cout << a.at(0) << s.at(0) << b.at(0) << endl;
}
| [
"identifier.change",
"io.output.change"
] | 1,470,423 | 1,470,424 | u937709624 | cpp |
p03860 | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s >> s;
cout << "A" << s << "C" << endl;
} | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s >> s;
cout << "A" << s.at(0) << "C" << endl;
} | [
"call.add"
] | 1,470,430 | 1,470,431 | u279066739 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string x, y, z;
cin >> x >> y >> z;
cout << x.at(1) << y.at(1) << z.at(1) << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string x, y, z;
cin >> x >> y >> z;
cout << x.at(0) << y.at(0) << z.at(0) << endl;
}
| [
"literal.number.change",
"io.output.change"
] | 1,470,432 | 1,470,433 | u497458029 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s;
cin >> a >> s;
cout << "A" << s.at(8) << "C" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s;
cin >> a >> s;
cout << "A" << s.at(0) << "C" << endl;
} | [
"literal.number.change",
"io.output.change"
] | 1,470,434 | 1,470,435 | u976225138 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
cout << "A" << s.at(0) << "C" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s;
cin >> a >> s;
cout << "A" << s.at(0) << "C" << endl;
} | [
"variable_declaration.add"
] | 1,470,437 | 1,470,435 | u976225138 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string A, B, C;
cin >> A >> B >> C;
cout << A[0] + B[0] + C[0] << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string A, B, C;
cin >> A >> B >> C;
cout << A[0] << B[0] << C[0] << endl;
} | [
"io.output.change"
] | 1,470,440 | 1,470,441 | u430974466 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << "A" << 'b.at(0)' << "C";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << "A" << b.at(0) << "C";
}
| [
"call.arguments.add"
] | 1,470,450 | 1,470,451 | u366135682 | cpp |
p03860 | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
cout << "A" << s.at(0) << "C" << endl;
} | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s >> s;
cout << "A" << s.at(0) << "C" << endl;
} | [
"expression.operation.binary.add"
] | 1,470,452 | 1,470,453 | u144013030 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
string a, s, b;
cin >> a >> s >> b;
cout << "A" << s[0] << "B" << endl;
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string a, s, b;
cin >> a >> s >> b;
cout << "A" << s[0] << "C" << endl;
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 1,470,454 | 1,470,455 | u060467857 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
cout << 'A' << s[8] << 'C';
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s >> s;
cout << 'A' << s[0] << 'C';
return 0;
} | [
"literal.number.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 1,470,460 | 1,470,461 | u058348416 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
char s;
cin >> S;
s = S.at(0);
cout << "A" << s << "C" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
char s;
cin >> S >> S;
s = S.at(0);
cout << "A" << s << "C" << endl;
} | [
"expression.operation.binary.add"
] | 1,470,472 | 1,470,471 | u501643136 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
cout << 'A' << s.at(8) << 'C' << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s;
cin >> a >> s;
cout << 'A' << s.at(0) << 'C' << endl;
} | [
"variable_declaration.add",
"literal.number.change",
"io.output.change"
] | 1,470,473 | 1,470,474 | u339937125 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
cout << 'A' << s.at(0) << 'C' << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s;
cin >> a >> s;
cout << 'A' << s.at(0) << 'C' << endl;
} | [
"variable_declaration.add"
] | 1,470,475 | 1,470,474 | u339937125 | cpp |
p03860 | #include <iostream>
using namespace std;
int main(void) {
string s;
cin >> s;
cout << 'A' << s.at(0) << 'C' << endl;
} | #include <iostream>
using namespace std;
int main(void) {
string a, s;
cin >> a >> s;
cout << 'A' << s.at(0) << 'C' << endl;
} | [
"variable_declaration.add"
] | 1,470,476 | 1,470,477 | u503870829 | cpp |
p03860 | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <memory>
#include <numeric>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define rep(i, a, b) for (int i = (a); i < (b); ++i)
#define MOD 1... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <memory>
#include <numeric>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define rep(i, a, b) for (int i = (a); i < (b); ++i)
#define MOD 1... | [
"expression.operation.binary.change",
"assignment.change"
] | 1,470,480 | 1,470,481 | u377777817 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
char x;
cin >> a >> b >> c;
x == b.at(0);
cout << "A" << x << "C" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
char x;
cin >> a >> b >> c;
x = b.at(0);
cout << "A" << x << "C" << endl;
} | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,470,485 | 1,470,486 | u634967948 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
char str1[50], str2[50], str3[50];
scanf("%s %s %s", str1, str2, str3);
printf("%c%c%c\n", str1[0] - 32, str2[0] - 32, str3[0] - 32);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char str1[50], str2[50], str3[50];
scanf("%s %s %s", str1, str2, str3);
printf("%c%c%c\n", str1[0], str2[0], str3[0]);
return 0;
} | [
"expression.operation.binary.remove"
] | 1,470,491 | 1,470,492 | u087452494 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define BIG 1000000010
#define repi(i, x, n) for (int i = x; i < n; i++)
#define rep(i, n) repi(i, 0, n)
#define repn(i, n) for (int i = n; i >= 0; i--)
typedef long long int ll;
int main() {
string s;
cin >> s >> s >> s;
cout << 'A' << s[0] <<... | #include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define BIG 1000000010
#define repi(i, x, n) for (int i = x; i < n; i++)
#define rep(i, n) repi(i, 0, n)
#define repn(i, n) for (int i = n; i >= 0; i--)
typedef long long int ll;
int main() {
string s;
cin >> s >> s;
cout << 'A' << s[0] << 'C' ... | [
"expression.operation.binary.remove"
] | 1,470,495 | 1,470,496 | u386769326 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define BIG 1000000010
#define repi(i, x, n) for (int i = x; i < n; i++)
#define rep(i, n) repi(i, 0, n)
#define repn(i, n) for (int i = n; i >= 0; i--)
typedef long long int ll;
int main() {
string s;
cin >> s >> s >> s;
cout << 'A' << s[8] <<... | #include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define BIG 1000000010
#define repi(i, x, n) for (int i = x; i < n; i++)
#define rep(i, n) repi(i, 0, n)
#define repn(i, n) for (int i = n; i >= 0; i--)
typedef long long int ll;
int main() {
string s;
cin >> s >> s;
cout << 'A' << s[0] << 'C' ... | [
"expression.operation.binary.remove",
"literal.number.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 1,470,497 | 1,470,496 | u386769326 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define BIG 1000000010
#define repi(i, x, n) for (int i = x; i < n; i++)
#define rep(i, n) repi(i, 0, n)
#define repn(i, n) for (int i = n; i >= 0; i--)
typedef long long int ll;
int main() {
string s;
cin >> s;
cout << 'A' << s[8] << 'C' << en... | #include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define BIG 1000000010
#define repi(i, x, n) for (int i = x; i < n; i++)
#define rep(i, n) repi(i, 0, n)
#define repn(i, n) for (int i = n; i >= 0; i--)
typedef long long int ll;
int main() {
string s;
cin >> s >> s;
cout << 'A' << s[0] << 'C' ... | [
"literal.number.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 1,470,498 | 1,470,496 | u386769326 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
char x;
cin >> a >> b >> c;
x = b.at(0);
cout << 'A' << 'x' << 'C' << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
char x;
cin >> a >> b >> c;
x = b.at(0);
cout << 'A' << x << 'C' << endl;
return 0;
} | [] | 1,470,501 | 1,470,502 | u655404795 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
cout << "A" << s[0] << "C";
return 0;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s >> s;
cout << "A" << s[0] << "C";
return 0;
}
| [
"expression.operation.binary.add"
] | 1,470,505 | 1,470,506 | u809153881 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] + b[0] + c[0];
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] << b[0] << c[0];
} | [
"io.output.change"
] | 1,470,513 | 1,470,514 | u959539771 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s, a, b;
cin >> s >> a >> b;
cout << 'A' << a << 'C' << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s, a, b;
cin >> s >> a >> b;
cout << 'A' << a[0] << 'C' << endl;
} | [] | 1,470,515 | 1,470,516 | u929107645 | cpp |
p03860 | #include <algorithm>
#include <array>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
typedef pair<int, int> P;
typedef long long LL;
const LL INF = 1 << 31;
int main() {
string a, b, c;
cin >> a >> b ... | #include <algorithm>
#include <array>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
typedef pair<int, int> P;
typedef long long LL;
const LL INF = 1 << 31;
int main() {
string a, b, c;
cin >> a >> b ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,470,517 | 1,470,518 | u999803454 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
char B = b.at(0);
cout << "A" << b << "C" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
char B = b.at(0);
cout << "A" << B << "C" << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,470,521 | 1,470,522 | u348914050 | cpp |
p03860 | #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
string A, B, C;
cin >> A >> B >> C;
cout << A << B[0] << C << endl;
}
| #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
string A, B, C;
cin >> A >> B >> C;
cout << A[0] << B[0] << C[0] << endl;
}
| [] | 1,470,523 | 1,470,524 | u572012241 | cpp |
p03860 | #include <iostream>
using namespace std;
int main(void) {
char a[110], b[110], c[110];
cin >> a >> b >> c;
cout << a[0] + b[0] + c[0] << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main(void) {
char a[110], b[110], c[110];
cin >> a >> b >> c;
cout << a[0] << b[0] << c[0] << endl;
return 0;
}
| [
"io.output.change"
] | 1,470,532 | 1,470,533 | u114838227 | cpp |
p03860 | #include <algorithm>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <stdio.h>
#include <string>
#include <typeinfo>
using namespace std;
int main() {
char a[2];
cin >> a >> a;
cout << "A" << a[0] << "C";
}
| #include <algorithm>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <stdio.h>
#include <string>
#include <typeinfo>
using namespace std;
int main() {
char a[99];
cin >> a >> a;
cout << "A" << a[0] << "C";
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 1,470,536 | 1,470,537 | u019356802 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main(void) {
string s;
cin >> s;
cout << "A" << s[8] << "C" << endl;
} | #include <iostream>
#include <string>
using namespace std;
int main(void) {
string s;
cin >> s;
cin >> s;
cout << "A" << s[0] << "C" << endl;
} | [
"literal.number.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 1,470,538 | 1,470,539 | u560522955 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main(void) {
string s;
cin >> s;
cout << "A" << s[0] << "C" << endl;
} | #include <iostream>
#include <string>
using namespace std;
int main(void) {
string s;
cin >> s;
cin >> s;
cout << "A" << s[0] << "C" << endl;
} | [] | 1,470,540 | 1,470,539 | u560522955 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
char ans = b[7];
cout << 'A' << ans << 'C' << endl;
return 0;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
char ans = b[0];
cout << 'A' << ans << 'C' << endl;
return 0;
}
| [
"literal.number.change",
"variable_access.subscript.index.change"
] | 1,470,541 | 1,470,542 | u633402865 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
char ans = b[8];
cout << 'A' << ans << 'C' << endl;
return 0;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
char ans = b[0];
cout << 'A' << ans << 'C' << endl;
return 0;
}
| [
"literal.number.change",
"variable_access.subscript.index.change"
] | 1,470,543 | 1,470,542 | u633402865 | cpp |
p03860 | #include <bits/stdc++.h>
#include <vector>
using namespace std;
int main() {
string s;
cin >> s;
cout << 'A' << s.at(8) << 'C' << endl;
}
| #include <bits/stdc++.h>
#include <vector>
using namespace std;
int main() {
string a, s;
cin >> a >> s;
cout << 'A' << s.at(0) << 'C' << endl;
}
| [
"variable_declaration.add",
"literal.number.change",
"io.output.change"
] | 1,470,544 | 1,470,545 | u647474992 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
string atcoder;
string honya;
string contest;
cin >> atcoder >> honya >> contest;
cout << 'A' << "honya[0]" << 'C' << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
string atcoder;
string honya;
string contest;
cin >> atcoder >> honya >> contest;
cout << 'A' << honya[0] << 'C' << endl;
return 0;
} | [] | 1,470,558 | 1,470,559 | u777201860 | cpp |
p03860 | #include <iostream>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a << b[0] << c << endl;
} |
#include <iostream>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] << b[0] << c[0] << endl;
} | [] | 1,470,568 | 1,470,569 | u424333771 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string str1, str2;
cin >> str1 >> str2;
char S = str2.at(0);
char a = 'A';
char b = 'C';
cout << a << str2 << b << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string str1, str2;
cin >> str1 >> str2;
char S = str2.at(0);
char a = 'A';
char b = 'C';
cout << a << S << b << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,470,574 | 1,470,575 | u859448927 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string S1, S2, S3;
cin >> S1, S2, S3;
// ここにプログラムを追記
cout << "A" << S2.at(0) << "C" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string S1, S2, S3;
cin >> S1 >> S2 >> S3;
// ここにプログラムを追記
cout << "A" << S2.at(0) << "C" << endl;
}
| [] | 1,470,578 | 1,470,579 | u760391419 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] + b[0] + c[0] << endl;
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] << b[0] << c[0] << endl;
return 0;
} | [
"io.output.change"
] | 1,470,580 | 1,470,581 | u384124931 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define sz(x) ((int)(x).size())
#define in(x) \
int x; \
cin >> x
#define bit(n) (1 << (n))
#define rep(i, n)... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define sz(x) ((int)(x).size())
#define in(x) \
int x; \
cin >> x
#define bit(n) (1 << (n))
#define rep(i, n)... | [
"literal.number.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 1,470,583 | 1,470,584 | u245407321 | cpp |
p03860 |
#include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[]) {
char S[110];
char lpAns[] = "ABC";
ios::sync_with_stdio(false);
cin.tie(0);
cin >> S;
lpAns[1] = S[8];
cout << lpAns << endl;
return 0;
}
|
#include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[]) {
char S[110];
char lpAns[] = "ABC";
ios::sync_with_stdio(false);
cin.tie(0);
cin >> S;
cin >> S;
lpAns[1] = S[0];
cout << lpAns << endl;
return 0;
}
| [
"literal.number.change",
"assignment.value.change",
"variable_access.subscript.index.change"
] | 1,470,592 | 1,470,593 | u624376607 | cpp |
p03860 | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
cout << "A" << s[8] << "C" << endl;
}
| #include <iostream>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << "A" << s[8] << "C" << endl;
} | [
"call.add",
"expression.operation.binary.change",
"call.arguments.change"
] | 1,470,600 | 1,470,601 | u310790595 | cpp |
p03860 | #include <stdio.h>
#include <string.h>
int main(void) {
char a[10];
char s[100];
char c[10];
scanf("%s %s %s", a, s, c);
printf("%c %c %c\n", a[0], s[0], c[0]);
return 0;
} | #include <stdio.h>
#include <string.h>
int main(void) {
char a[10];
char s[150];
char c[10];
scanf("%s %s %s", a, s, c);
printf("%c%c%c\n", a[0], s[0], c[0]);
return 0;
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,470,602 | 1,470,603 | u567993598 | cpp |
p03860 | #include <iostream>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] + b[0] + c[0] << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] << b[0] << c[0] << endl;
return 0;
}
| [
"io.output.change"
] | 1,470,604 | 1,470,605 | u859781218 | cpp |
p03860 | #include <iostream>
#include <string>
int main() {
using namespace std;
string a, s, b;
char x[3];
cin >> a >> s >> b;
x[0] = a[0];
x[1] = x[0];
x[2] = b[0];
for (int i = 0; i < 3; i++) {
cout << s[i];
}
} | #include <iostream>
#include <string>
int main() {
using namespace std;
string a, s, b;
char x[3];
cin >> a >> s >> b;
x[0] = a[0];
x[1] = s[0];
x[2] = b[0];
for (int i = 0; i < 3; i++) {
cout << x[i];
}
} | [
"assignment.value.change",
"identifier.change",
"io.output.change"
] | 1,470,621 | 1,470,622 | u539938473 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
cin >> s;
cout << "A" << s[0] << "A" << endl;
cin >> s;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
cin >> s;
cout << "A" << s[0] << "C" << endl;
cin >> s;
} | [
"literal.string.change",
"io.output.change"
] | 1,470,627 | 1,470,628 | u375937493 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, c;
cin >> a >> s >> c;
cout << "A" << 's.at(0)' << "C" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, c;
cin >> a >> s >> c;
cout << "A" << s.at(0) << "C" << endl;
} | [
"call.arguments.add"
] | 1,470,631 | 1,470,632 | u709310759 | cpp |
p03860 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <utility>
#include <vector>
#define MAX_U 10
#define MIN_U 0
#define rep(i, n) for (int i = 0; i < n; i++)
#define sz(x) ((int)(x).size())
using namespace std;
typedef long long ll;
ty... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <utility>
#include <vector>
#define MAX_U 10
#define MIN_U 0
#define rep(i, n) for (int i = 0; i < n; i++)
#define sz(x) ((int)(x).size())
using namespace std;
typedef long long ll;
ty... | [
"literal.number.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 1,470,639 | 1,470,640 | u942174595 | cpp |
p03860 | #include <algorithm>
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
int main(void) {
string a, b, c;
cin >> a >> b >> c;
cout << "A" << b[0] << "c" << endl;
return 0;
} | #include <algorithm>
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
int main(void) {
string a, b, c;
cin >> a >> b >> c;
cout << "A" << b[0] << "C" << endl;
return 0;
} | [
"misc.typo",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,470,641 | 1,470,642 | u351521513 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] + b[0] + c[0] << endl;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] << b[0] << c[0] << endl;
} | [
"io.output.change"
] | 1,470,643 | 1,470,644 | u281384315 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string A, S, B;
cin >> A >> S >> B;
char X = S.at(0);
cout << "A" << X << "B" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string A, S, B;
cin >> A >> S >> B;
char X = S.at(0);
cout << "A" << X << "C" << endl;
} | [
"literal.string.change",
"io.output.change"
] | 1,470,645 | 1,470,646 | u681349918 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
string a;
cin >> a;
cout << 'A' << a[8] << 'C' << endl;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string a;
cin >> a >> a;
cout << 'A' << a[0] << 'C' << endl;
} | [
"literal.number.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 1,470,647 | 1,470,648 | u874644572 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] + b[0] + c[0] << endl;
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] << b[0] << c[0] << endl;
return 0;
}
| [
"io.output.change"
] | 1,470,651 | 1,470,652 | u758551404 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
#define INF 1001000100010001000
#define MOD 1000000007
#define EPS 1e-10
#define int long long
#define rep(i, N) for (int i = 0; i < N; i++)
#define Rep(i, N) for (int i = 1; i < N; i++)
#define For(i, a, b) for (int i = (a); i < (b); i++)
#define pb push_back
#define eb ... | #include <bits/stdc++.h>
using namespace std;
#define INF 1001000100010001000
#define MOD 1000000007
#define EPS 1e-10
#define int long long
#define rep(i, N) for (int i = 0; i < N; i++)
#define Rep(i, N) for (int i = 1; i < N; i++)
#define For(i, a, b) for (int i = (a); i < (b); i++)
#define pb push_back
#define eb ... | [] | 1,470,674 | 1,470,675 | u572468811 | cpp |
p03860 | #include <algorithm>
#include <iostream>
#include <math.h>
#include <numeric>
#include <string>
#include <vector>
using namespace std;
const double PI = acos(-1.0);
const string alp = "abcdefghijklmnopqrstuvwxyz";
const string ALP = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
#define EXIST(s, e) ((s).find(e) != (s).end())
#define SO... | #include <algorithm>
#include <iostream>
#include <math.h>
#include <numeric>
#include <string>
#include <vector>
using namespace std;
const double PI = acos(-1.0);
const string alp = "abcdefghijklmnopqrstuvwxyz";
const string ALP = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
#define EXIST(s, e) ((s).find(e) != (s).end())
#define SO... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"misc.typo"
] | 1,470,681 | 1,470,682 | u172929647 | cpp |
p03860 | #include "bits/stdc++.h"
#define rep(i, n) for (int i = 0; i < n; i++)
#define ALL(v) (v).begin(), (v).end()
typedef long long LL;
const LL MOD = 1000000007LL;
using namespace std;
int main() {
string s;
cin >> s;
cout << "A" << s[0] << "C" << endl;
} | #include "bits/stdc++.h"
#define rep(i, n) for (int i = 0; i < n; i++)
#define ALL(v) (v).begin(), (v).end()
typedef long long LL;
const LL MOD = 1000000007LL;
using namespace std;
int main() {
string s;
cin >> s;
cin >> s;
cout << "A" << s[0] << "C" << endl;
} | [] | 1,470,685 | 1,470,686 | u243961437 | cpp |
p03860 | #include <cstdio>
using namespace std;
int main() {
char s[128];
scanf("%s", s);
scanf("%s", s);
printf("%A%c%C\n", s[0]);
} | #include <cstdio>
using namespace std;
int main() {
char s[128];
scanf("%s", s);
scanf("%s", s);
printf("A%cC\n", s[0]);
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,470,687 | 1,470,688 | u243961437 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s, t, u;
cin >> s >> t >> u;
cout << s[0] << s[1] << s[2] << endl;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string s, t, u;
cin >> s >> t >> u;
cout << s[0] << t[0] << u[0] << endl;
} | [
"identifier.change",
"io.output.change",
"literal.number.change",
"variable_access.subscript.index.change"
] | 1,470,693 | 1,470,694 | u456611841 | cpp |
p03858 | #pragma region Macros
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#define ll long long
#define ld long double
#define rep2(i, a, b) for (ll i = a; i <= b; ++i)
#define rep(i, n) for (ll i = 0; i < n; ++i)
#define rep3(i, a, b) for (ll i = a; i >= b; --i)
#define pii pair<int, int>
#define pll pair<ll, ll>
#defi... | #pragma region Macros
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#define ll long long
#define ld long double
#define rep2(i, a, b) for (ll i = a; i <= b; ++i)
#define rep(i, n) for (ll i = 0; i < n; ++i)
#define rep3(i, a, b) for (ll i = a; i >= b; --i)
#define pii pair<int, int>
#define pll pair<ll, ll>
#defi... | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"expression.operation.binary.change"
] | 1,470,785 | 1,470,786 | u495699318 | cpp |
p03861 | /*
ID: rchalam1
LANG: C++14
TASK:
*/
// For train.usaco.org, fill the template above.
// Competitive Coding Template
// GCC OPTIMIAZTION FLAGS
#ifdef ONLINE_JUDGE
#pragma GCC target("avx2")
#pragma GCC optimization("O3")
#pragma GCC optimization("unroll-loops")
#endif
#include <bits/stdc++.h>
/*
#include <fstream>
... | /*
ID: rchalam1
LANG: C++14
TASK:
*/
// For train.usaco.org, fill the template above.
// Competitive Coding Template
// GCC OPTIMIAZTION FLAGS
#ifdef ONLINE_JUDGE
#pragma GCC target("avx2")
#pragma GCC optimization("O3")
#pragma GCC optimization("unroll-loops")
#endif
#include <bits/stdc++.h>
/*
#include <fstream>
... | [
"expression.operation.binary.add"
] | 1,470,787 | 1,470,788 | u463295948 | cpp |
p03861 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
#define pi 3.14159265359
#define all(i) i.begin(), i.end()
using namespace std;
const long long INF = 1e9 + 7;
const string alp = "abcdefghijklmnopqrstuvwxyz"; // 26
const string ALP ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
#define pi 3.14159265359
#define all(i) i.begin(), i.end()
using namespace std;
const long long INF = 1e9 + 7;
const string alp = "abcdefghijklmnopqrstuvwxyz"; // 26
const string ALP ... | [
"assignment.change"
] | 1,470,799 | 1,470,800 | u251242696 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, x;
cin >> a >> b >> x;
if (a == 0)
cout << b / x + 1 << endl;
else
cout << b / x - a / x << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, x;
cin >> a >> b >> x;
if (a == 0)
cout << b / x + 1 << endl;
else
cout << b / x - (a - 1) / x << endl;
} | [] | 1,470,813 | 1,470,814 | u600480888 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep2(i, s, n) for (int i = (s); i < (n); ++i)
#define ll long long
#define ld long double
#define P pair<ll, ll>
#define all(v) v.begin(), v.end()
const ll mod = 1e9 + 7;
const ll INF = 1e18;
const double pi = acos(-... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep2(i, s, n) for (int i = (s); i < (n); ++i)
#define ll long long
#define ld long double
#define P pair<ll, ll>
#define all(v) v.begin(), v.end()
const ll mod = 1e9 + 7;
const ll INF = 1e18;
const double pi = acos(-... | [
"expression.operation.binary.add"
] | 1,470,821 | 1,470,822 | u025469035 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep2(i, s, n) for (int i = (s); i < (n); ++i)
#define ll long long
#define ld long double
#define P pair<ll, ll>
#define all(v) v.begin(), v.end()
const ll mod = 1e9 + 7;
const ll INF = 1e18;
const double pi = acos(-... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep2(i, s, n) for (int i = (s); i < (n); ++i)
#define ll long long
#define ld long double
#define P pair<ll, ll>
#define all(v) v.begin(), v.end()
const ll mod = 1e9 + 7;
const ll INF = 1e18;
const double pi = acos(-... | [
"expression.operation.binary.remove"
] | 1,470,823 | 1,470,822 | u025469035 | cpp |
p03861 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using ll = long long;
using namespace std;
using P = pair<int, int>;
int main() {
int a, b, x;
cin >> a >> b >> x;
if (a == 0)
cout << b / x + 1 << endl;
else
cout << b / x - (a - 1) / x << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using ll = long long;
using namespace std;
using P = pair<int, int>;
int main() {
ll a, b, x;
cin >> a >> b >> x;
if (a == 0)
cout << b / x + 1 << endl;
else
cout << b / x - (a - 1) / x << endl;
return 0;
} | [
"variable_declaration.type.change"
] | 1,470,824 | 1,470,825 | u977879365 | cpp |
p03861 | #include <bits/stdc++.h>
#define endl '\n'
#define fast_in \
ios_base::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define mp make_pai... | #include <bits/stdc++.h>
#define endl '\n'
#define fast_in \
ios_base::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define mp make_pai... | [] | 1,470,831 | 1,470,832 | u922547438 | cpp |
p03861 | #include <iostream>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
if (a == 0)
cout << b / c;
else
cout << b / c - (a - 1) / c;
}
| #include <iostream>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
if (a == 0)
cout << b / c + 1;
else
cout << b / c - (a - 1) / c;
}
| [
"expression.operation.binary.add"
] | 1,470,835 | 1,470,836 | u829521436 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t a, b, x, tmp1, tmp2;
cin >> a >> b >> x;
if (a == 0)
tmp1 = 0;
else
tmp1 = (a - 1) / x + 1;
tmp2 = b / x + 1;
cout << tmp1 - tmp2;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t a, b, x, tmp1, tmp2;
cin >> a >> b >> x;
if (a == 0)
tmp1 = 0;
else
tmp1 = (a - 1) / x + 1;
tmp2 = b / x + 1;
cout << tmp2 - tmp1;
return 0;
} | [
"expression.operation.binary.remove"
] | 1,470,837 | 1,470,838 | u340494803 | cpp |
p03861 | #include <iostream>
using namespace std;
typedef long long ll;
int main() {
ll a, b, x;
cin >> a >> b >> x;
ll ans = b / x - (a - 1) / x;
cout << ans << endl;
} | #include <iostream>
using namespace std;
typedef long long ll;
int main() {
ll a, b, x;
cin >> a >> b >> x;
ll ans = b / x - (a + x - 1) / x + 1;
cout << ans << endl;
} | [
"assignment.change"
] | 1,470,839 | 1,470,840 | u190507186 | cpp |
p03861 | #include <iostream>
//#include <vector>
//#include <string>
//#include <algorithm>
//#include <math.h>
//#include <queue>
//#include <stack>
//#include <iomanip>
// sometimes used
//#include <set>
//#include <map>
//#include <numeric>
//#include <list>
//#include <deque>
//#include <unordered_map>
typedef long long L... | #include <iostream>
//#include <vector>
//#include <string>
//#include <algorithm>
//#include <math.h>
//#include <queue>
//#include <stack>
//#include <iomanip>
// sometimes used
//#include <set>
//#include <map>
//#include <numeric>
//#include <list>
//#include <deque>
//#include <unordered_map>
typedef long long L... | [
"assignment.change"
] | 1,470,841 | 1,470,842 | u755310927 | cpp |
p03861 | #include <algorithm>
#include <array>
#include <bitset>
#include <chrono>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <string>
#include <unordered_map>
#includ... | #include <algorithm>
#include <array>
#include <bitset>
#include <chrono>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <string>
#include <unordered_map>
#includ... | [
"expression.operation.binary.remove"
] | 1,470,849 | 1,470,850 | u967620300 | cpp |
p03861 | #include "algorithm"
#include "bitset"
#include "cassert"
#include "climits"
#include "cmath"
#include "cstdio"
#include "ctime"
#include "functional"
#include "iomanip"
#include "iostream"
#include "list"
#include "map"
#include "numeric"
#include "queue"
#include "random"
#include "set"
#include "stack"
#include "str... | #include "algorithm"
#include "bitset"
#include "cassert"
#include "climits"
#include "cmath"
#include "cstdio"
#include "ctime"
#include "functional"
#include "iomanip"
#include "iostream"
#include "list"
#include "map"
#include "numeric"
#include "queue"
#include "random"
#include "set"
#include "stack"
#include "str... | [
"expression.operation.binary.add"
] | 1,470,851 | 1,470,852 | u124659583 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B, X;
cin >> A >> B >> X;
if (!(A == 0) && !(B == 0)) {
cout << B / X - (A - 1) / X << endl;
} else if (A == 0 && !(B == 0)) {
cout << B / X << endl;
} else {
cout << 0 << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B, X;
cin >> A >> B >> X;
if (!(A == 0) && !(B == 0)) {
cout << B / X - (A - 1) / X << endl;
} else if (A == 0 && !(B == 0)) {
cout << B / X + 1 << endl;
} else {
cout << 1 << endl;
}
}
| [
"literal.number.change",
"io.output.change"
] | 1,470,859 | 1,470,860 | u740002394 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef vector<int> vec;
long de(long a, long x) {
if (a == -1)
return 0;
return a / x;
}
int main() {
long a, b, x;
cin >> a >> b >> x;
cout << de(b, x) - de(a - 1, x) << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef vector<int> vec;
long de(long a, long x) {
if (a == -1)
return 0;
return a / x + 1;
}
int main() {
long a, b, x;
cin >> a >> b >> x;
cout << de(b, x) - de(a - 1, x) << endl;
} | [
"expression.operation.binary.add"
] | 1,470,865 | 1,470,866 | u551813187 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef vector<int> vec;
long de(long a, long x) {
if (a == 0)
return 0;
return a / x;
}
int main() {
long a, b, x;
cin >> a >> b >> x;
cout << de(b, x) - de(a - 1, x) << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef vector<int> vec;
long de(long a, long x) {
if (a == -1)
return 0;
return a / x + 1;
}
int main() {
long a, b, x;
cin >> a >> b >> x;
cout << de(b, x) - de(a - 1, x) << endl;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,470,867 | 1,470,866 | u551813187 | cpp |
p03861 | #include <bits/stdc++.h>
#define LOCAL
using namespace std;
template <typename A, typename B>
ostream &operator<<(ostream &out, const pair<A, B> &a) {
out << "(" << a.first << "," << a.second << ")";
return out;
}
template <typename T, size_t N>
ostream &operator<<(ostream &out, const array<T, N> &a) {
out << "["... | #include <bits/stdc++.h>
#define LOCAL
using namespace std;
template <typename A, typename B>
ostream &operator<<(ostream &out, const pair<A, B> &a) {
out << "(" << a.first << "," << a.second << ")";
return out;
}
template <typename T, size_t N>
ostream &operator<<(ostream &out, const array<T, N> &a) {
out << "["... | [
"assignment.change"
] | 1,470,872 | 1,470,873 | u818349438 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, x, ans;
cin >> a >> b >> x;
if (a == 0)
ans = b / x + 1;
ans = b / x - (a - 1) / x;
cout << ans << endl;
;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, x, ans;
cin >> a >> b >> x;
if (a == 0)
ans = b / x + 1;
else
ans = b / x - (a - 1) / x;
cout << ans << endl;
;
return 0;
} | [
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,470,878 | 1,470,879 | u599895318 | cpp |
p03861 | #include "bits/stdc++.h"
using namespace std;
typedef long long int lint;
typedef pair<lint, lint> plint;
typedef pair<double long, double long> pld;
#define ALL(x) (x).begin(), (x).end()
#define SZ(x) ((lint)(x).size())
#define POW2(n) (1LL << (n))
#define FOR(i, begin, end) ... | #include "bits/stdc++.h"
using namespace std;
typedef long long int lint;
typedef pair<lint, lint> plint;
typedef pair<double long, double long> pld;
#define ALL(x) (x).begin(), (x).end()
#define SZ(x) ((lint)(x).size())
#define POW2(n) (1LL << (n))
#define FOR(i, begin, end) ... | [
"control_flow.branch.else.add"
] | 1,470,882 | 1,470,883 | u554988565 | cpp |
p03861 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define FOR(i, start, end) for (int i = start; i <= end; i++)
const int INF = 1001001001;
typedef long long ll;
const ll MOD = 1000000007;
using namespace std;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return 1;... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define FOR(i, start, end) for (int i = start; i <= end; i++)
const int INF = 1001001001;
typedef long long ll;
const ll MOD = 1000000007;
using namespace std;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return 1;... | [] | 1,470,884 | 1,470,885 | u852862907 | cpp |
p03861 | #include <bits/stdc++.h>
#define rep(i, start, end) for (long long i = start; i < end; ++i)
#define all(x) (x).begin(), (x).end()
#define len(x) ((long long)(x).size())
#define g(a, b) __gcd((a), (b))
#define l(a, b) ((a) / __gcd((a), (b)) * (b))
using namespace std;
using ll = long long;
using ld = long double;
using ... | #include <bits/stdc++.h>
#define rep(i, start, end) for (long long i = start; i < end; ++i)
#define all(x) (x).begin(), (x).end()
#define len(x) ((long long)(x).size())
#define g(a, b) __gcd((a), (b))
#define l(a, b) ((a) / __gcd((a), (b)) * (b))
using namespace std;
using ll = long long;
using ld = long double;
using ... | [
"expression.operation.binary.add"
] | 1,470,893 | 1,470,894 | u976940619 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, x;
cin >> a >> b >> x;
if (a != 0)
cout << b / x - (a - 1) / 2 << endl;
else
cout << b / x + 1;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, x;
cin >> a >> b >> x;
if (a != 0)
cout << b / x - (a - 1) / x << endl;
else
cout << b / x + 1;
} | [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change"
] | 1,470,895 | 1,470,896 | u933268816 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, x;
cin >> a >> b >> x;
long long int ans;
if (a == 0 && b % x == 0) {
ans = (b / x) + 1;
cout << ans << endl;
return 0;
}
if (a == 0) {
ans = b / x;
cout << ans << endl;
return 0;
} else {
ans = (b ... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, x;
cin >> a >> b >> x;
long long int ans;
if (a == 0 && b % x == 0) {
ans = (b / x) + 1;
cout << ans << endl;
return 0;
}
if (a == 0) {
ans = b / x + 1;
cout << ans << endl;
return 0;
} else {
ans =... | [
"assignment.change"
] | 1,470,905 | 1,470,906 | u977547071 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, x;
cin >> a >> b >> x;
if (a != 0) {
cout << b / x - (a - 1) / x << endl;
} else {
cout << b / x << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, x;
cin >> a >> b >> x;
if (a != 0) {
cout << b / x - (a - 1) / x << endl;
} else {
cout << b / x + 1 << endl;
}
} | [
"expression.operation.binary.add"
] | 1,470,911 | 1,470,912 | u255137505 | cpp |
p03861 | #include <iostream>
using namespace std;
long long f(long long i, long long j) { return (i != 0 ? i / j + 1 : 0); }
int main() {
long long a, b, x;
cin >> a >> b >> x;
cout << f(b, x) - f(a - 1, x) << endl;
return 0;
} | #include <iostream>
using namespace std;
long long f(long long i, long long j) { return (i != -1 ? i / j + 1 : 0); }
int main() {
long long a, b, x;
cin >> a >> b >> x;
cout << f(b, x) - f(a - 1, x) << endl;
return 0;
} | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"function.return_value.change",
"expression.operation.binary.change"
] | 1,470,913 | 1,470,914 | u633402865 | cpp |
p03861 | #include <iostream>
using namespace std;
long long f(long long i, long long j) { return (i ? i / j + 1 : 0); }
int main() {
long long a, b, x;
cin >> a >> b >> x;
cout << f(b, x) - f(a - 1, x) << endl;
return 0;
} | #include <iostream>
using namespace std;
long long f(long long i, long long j) { return (i != -1 ? i / j + 1 : 0); }
int main() {
long long a, b, x;
cin >> a >> b >> x;
cout << f(b, x) - f(a - 1, x) << endl;
return 0;
} | [
"expression.operation.binary.add"
] | 1,470,915 | 1,470,914 | u633402865 | cpp |
p03861 | #include <iostream>
using namespace std;
int main() {
long long a, b, x;
cin >> a >> b >> x;
int ans = 0;
if (a == 0)
;
else
ans -= (a - 1) / x + 1;
ans += b / x + 1;
cout << ans << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
long long a, b, x;
cin >> a >> b >> x;
long long ans = 0;
if (a == 0)
;
else
ans -= (a - 1) / x + 1;
ans += b / x + 1;
cout << ans << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 1,470,916 | 1,470,917 | u633402865 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, x;
cin >> a >> b >> x;
if (a != 0)
cout << b / x - (a - 1) / x << endl;
else
cout << b / x << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, x;
cin >> a >> b >> x;
if (a != 0)
cout << b / x - (a - 1) / x << endl;
else
cout << b / x + 1 << endl;
} | [
"expression.operation.binary.add"
] | 1,470,918 | 1,470,919 | u528258842 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, x;
cin >> a >> b >> x;
long long c, d;
if (a == 0) {
c = 0;
} else {
c = (a - 1) / x;
}
d = b / x;
cout << d - c << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, x;
cin >> a >> b >> x;
long long c, d;
if (a == 0) {
c = 0;
} else {
c = (a - 1) / x + 1;
}
d = b / x + 1;
cout << d - c << endl;
return 0;
} | [
"assignment.change"
] | 1,470,920 | 1,470,921 | u446053945 | cpp |
p03861 | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
ll a, b, x, ans = 0;
cin >> a >> b >> x;
if (x == 0)
ans = 1 + (b / x);
else
ans = (b / x) - ((a - 1) / x);
cout << ans << endl;
} | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
ll a, b, x, ans = 0;
cin >> a >> b >> x;
if (a == 0)
ans = 1 + (b / x);
else
ans = (b / x) - ((a - 1) / x);
cout << ans << endl;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,470,923 | 1,470,924 | u373365067 | cpp |
p03861 | #include <iostream>
#include <string>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main(void) {
long long a, b, x;
cin >> a >> b >> x;
long long ans = (b / x) - (a - 1) / x;
if (a == 0) {
ans = b / x;
}
cout << ans << endl;
}
| #include <iostream>
#include <string>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main(void) {
long long a, b, x;
cin >> a >> b >> x;
long long ans = (b / x) - (a - 1) / x;
if (a == 0) {
ans = b / x + 1;
}
cout << ans << endl;
}
| [
"assignment.change"
] | 1,470,925 | 1,470,926 | u255994242 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define ios ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0)
const int MOD = 1e9 + 7;
#define rep(i, n) for (int i = 0; i < int(n); ++i)
//-------------------ここから回答する-----------------------
void solve(void) {
ll a, b, x;
cin >> a >> b >> x;
... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define ios ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0)
const int MOD = 1e9 + 7;
#define rep(i, n) for (int i = 0; i < int(n); ++i)
//-------------------ここから回答する-----------------------
void solve(void) {
ll a, b, x;
cin >> a >> b >> x;
... | [
"literal.number.change",
"assignment.value.change"
] | 1,470,931 | 1,470,932 | u110044127 | cpp |
p03861 | #include <iostream>
#include <string>
int main() {
using namespace std;
long int a, b, x;
cin >> a >> b >> x;
auto solver = [](int a, int b, int x) {
return b / x - (a - 1) / ((a == 0) ? 1 : x);
};
cout << solver(a, b, x) << endl;
return 0;
}
| #include <iostream>
#include <string>
int main() {
using namespace std;
long int a, b, x;
cin >> a >> b >> x;
auto solver = [](long a, long b, long x) -> long {
return b / x - (a - 1) / ((a == 0) ? 1 : x);
};
cout << solver(a, b, x) << endl;
return 0;
}
| [
"variable_declaration.type.primitive.change"
] | 1,470,933 | 1,470,934 | u987805705 | cpp |
p03861 | #include <iostream>
#include <string>
int main() {
using namespace std;
long int a, b, x;
cin >> a >> b >> x;
auto solver = [](int a, int b, int x) {
long int cnt = b / x;
if (a == 0)
cnt += 1;
else
cnt -= (a - 1) / x;
return cnt;
};
cout << solver(a, b, x) << endl;
return ... | #include <iostream>
#include <string>
int main() {
using namespace std;
long int a, b, x;
cin >> a >> b >> x;
auto solver = [](long a, long b, long x) {
long int cnt = b / x;
if (a == 0)
cnt += 1;
else
cnt -= (a - 1) / x;
return cnt;
};
cout << solver(a, b, x) << endl;
retu... | [
"variable_declaration.type.primitive.change"
] | 1,470,935 | 1,470,936 | u987805705 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define RFOR(i, a, b) for (int i = (b)-1; i >= (a); i--)
#define REP(i, n) for (int i = 0; i < (n); i++)
#define RREP(i, n) for (int i = (n)-1; i >= 0; i--)
#define EACH(i, a, b) for (int i = (a); i <= (b); i++)
#define ... | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define RFOR(i, a, b) for (int i = (b)-1; i >= (a); i--)
#define REP(i, n) for (int i = 0; i < (n); i++)
#define RREP(i, n) for (int i = (n)-1; i >= 0; i--)
#define EACH(i, a, b) for (int i = (a); i <= (b); i++)
#define ... | [
"variable_declaration.type.change"
] | 1,470,968 | 1,470,969 | u616360029 | cpp |
p03861 | #include "bits/stdc++.h"
using namespace std;
using ll = long long;
ll calc(ll n, ll x) { return (n / x); }
int main() {
ll a, b, x;
cin >> a >> b >> x;
ll ans = 0;
if (a == 0) {
if (b == 0)
ans = 0;
else
ans = calc(b, x);
} else {
ans = calc(b, x) - calc(a - 1, x);
}
cout << an... | #include "bits/stdc++.h"
using namespace std;
using ll = long long;
ll calc(ll n, ll x) { return (n / x); }
int main() {
ll a, b, x;
cin >> a >> b >> x;
ll ans = 0;
if (a == 0) {
if (b == 0)
ans = 1;
else
ans = calc(b, x) + 1;
} else {
ans = calc(b, x) - calc(a - 1, x);
}
cout <... | [
"literal.number.change",
"assignment.value.change",
"assignment.change"
] | 1,470,970 | 1,470,971 | u422709620 | cpp |
p03861 | #include "bits/stdc++.h"
using namespace std;
using ll = long long;
ll calc(ll n, ll x) { return (n / x); }
int main() {
ll a, b, x;
cin >> a >> b >> x;
ll ans = 0;
if (a == 0) {
if (b == 0)
ans = 1;
else
ans = calc(b, x);
} else {
ans = calc(b, x) - calc(a - 1, x);
}
cout << an... | #include "bits/stdc++.h"
using namespace std;
using ll = long long;
ll calc(ll n, ll x) { return (n / x); }
int main() {
ll a, b, x;
cin >> a >> b >> x;
ll ans = 0;
if (a == 0) {
if (b == 0)
ans = 1;
else
ans = calc(b, x) + 1;
} else {
ans = calc(b, x) - calc(a - 1, x);
}
cout <... | [
"assignment.change"
] | 1,470,972 | 1,470,971 | u422709620 | cpp |
p03861 | #include <bits/stdc++.h>
using namespace std;
long long division(long long n, long long x) {
if (n == -1) {
return 0;
} else if (n != -1) {
return n / x;
}
}
int main() {
long long a, b, x;
cin >> a >> b >> x;
cout << division(b, x) - division(a - 1, x) << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
long long division(long long n, long long x) {
if (n == -1) {
return -1;
} else if (n != -1) {
return n / x;
}
}
int main() {
long long a, b, x;
cin >> a >> b >> x;
cout << division(b, x) - division((a - 1), x) << endl;
return 0;
}
| [
"literal.number.change",
"function.return_value.change",
"call.arguments.change"
] | 1,470,981 | 1,470,982 | u567963483 | cpp |
p03861 | /*
author : nishi5451
created : 12.08.2020 21:51:32
*/
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
int main() {
ll a, b, x;
ll ans;
cin >> a >> b >> x;
if (a == 0) {
if (b == 0)
ans = 0;
else
ans = b / x + 1... | /*
author : nishi5451
created : 12.08.2020 21:51:32
*/
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
int main() {
ll a, b, x;
ll ans;
cin >> a >> b >> x;
if (a == 0) {
if (b == 0)
ans = 1;
else
ans = b / x + 1... | [
"literal.number.change",
"assignment.value.change",
"identifier.replace.remove",
"literal.replace.add",
"expression.operation.binary.change"
] | 1,470,985 | 1,470,984 | u033937898 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.