problem_id
stringlengths
6
6
language
stringclasses
2 values
original_status
stringclasses
3 values
original_src
stringlengths
19
243k
changed_src
stringlengths
19
243k
change
stringclasses
3 values
i1
int64
0
8.44k
i2
int64
0
8.44k
j1
int64
0
8.44k
j2
int64
0
8.44k
error
stringclasses
270 values
stderr
stringlengths
0
226k
p03264
C++
Runtime Error
#include <bits/stdc++.h> using namespace std; #define DEBUG(x) cout << '>' << #x << ':' << x << endl; #define D(x) cerr << __LINE__ << ": " << #x << " = " << (x) << '\n' #define DD(x, y) \ cerr << __LINE__ << ": " << #x << " = " << x << " " << #y << " =...
#include <bits/stdc++.h> using namespace std; #define DEBUG(x) cout << '>' << #x << ':' << x << endl; #define D(x) cerr << __LINE__ << ": " << #x << " = " << (x) << '\n' #define DD(x, y) \ cerr << __LINE__ << ": " << #x << " = " << x << " " << #y << " =...
replace
25
26
25
28
0
p03264
C++
Runtime Error
#include <stdio.h> int main() { int k; scanf("%d", k); if (k % 2 == 0) { printf("%d", k / 2 * k / 2); } if (k % 2 == 1) { printf("%d", k / 2 * (k + 1) / 2); } return 0; }
#include <stdio.h> int main() { int k; scanf("%d", &k); if (k % 2 == 0) { printf("%d", k / 2 * k / 2); } if (k % 2 == 1) { printf("%d", k / 2 * (k + 1) / 2); } return 0; }
replace
3
4
3
4
-11
p03264
C++
Time Limit Exceeded
#define taskname "data" #include <bits/stdc++.h> #define FOR(i, a, b) for (int i = (a); i <= (b); ++i) #define FOD(i, a, b) for (int i = (a); i >= (b); --i) #define RP(i, a, b) for (int i = (a); i < (b); ++i) #define FORE(i, a) \ for (__typeof((a).begin())...
#define taskname "data" #include <bits/stdc++.h> #define FOR(i, a, b) for (int i = (a); i <= (b); ++i) #define FOD(i, a, b) for (int i = (a); i >= (b); --i) #define RP(i, a, b) for (int i = (a); i < (b); ++i) #define FORE(i, a) \ for (__typeof((a).begin())...
delete
113
118
113
113
TLE
p03264
C++
Time Limit Exceeded
#include <iostream> using namespace std; int main() { int k; cin >> k; int even = k / 2; int odd = k / 2 + k % 2; cout << even * odd << endl; while (1) ; return 0; }
#include <iostream> using namespace std; int main() { int k; cin >> k; int even = k / 2; int odd = k / 2 + k % 2; cout << even * odd << endl; return 0; }
delete
11
13
11
11
TLE
p03264
C++
Time Limit Exceeded
#include <iostream> using namespace std; int main() { int N; cin >> N; int count = 0; for (int i = 1; i <= N; i++) { for (int j = i; j <= N; i++) { if (i == j) continue; if (i % 2 == 0 && j % 2 == 1) count++; else if (j % 2 == 0 && i % 2 == 1) count++; } } ...
#include <iostream> using namespace std; int main() { int N; cin >> N; int count = 0; for (int i = 1; i <= N; i++) { for (int j = i; j <= N; j++) { if (i == j) continue; if (i % 2 == 0 && j % 2 == 1) count++; else if (j % 2 == 0 && i % 2 == 1) count++; } } ...
replace
9
10
9
10
TLE