Datasets:

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
p03944
<?php list($r,$u,$n) = explode(" ",trim(fgets(STDIN))); $l = 0; $d = 0; while($n > 0){ list($x,$y,$a) = explode(" ",trim(fgets(STDIN))); if($a == 1){ $l = min($l,$x); }elseif($a == 2){ $r = min($r,$x); }elseif($a == 3){ $d = min($d,$y); }else{ $u = min($u,$y); } --$n; } if($d <= $u || $l <= $r){ echo 0; }else{ echo ($u...
<?php list($r,$u,$n) = explode(" ",trim(fgets(STDIN))); $l = 0; $d = 0; while($n > 0){ list($x,$y,$a) = explode(" ",trim(fgets(STDIN))); if($a == 1){ $l = max($l,$x); }elseif($a == 2){ $r = min($r,$x); }elseif($a == 3){ $d = max($d,$y); }else{ $u = min($u,$y); } --$n; } if($d >= $u || $l >= $r){ echo 0; }else{ echo ($u...
[ "misc.opposites", "assignment.value.change", "call.function.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
1,483,302
1,483,301
u281500237
php
p04043
<?php $line = trim(fgets(STDIN)); if (in_array( $line, [ "5 5 7\n", "5 7 5\n", "7 5 5\n", ], true, )) { echo "YES"; } else { echo "NO"; }
<?php $line = fgets(STDIN); if (in_array( $line, [ "5 5 7\n", "5 7 5\n", "7 5 5\n", ], true, )) { echo "YES"; } else { echo "NO"; }
[ "call.remove", "call.arguments.change" ]
1,526,786
1,526,787
u975073965
php
p04043
fscanf(STDIN, "%d %d %d", $a, $b, $c); $array1 = array($a,$b,$c); $count5 = array_count_values($array1); if($count5[5]== 2 && $count5[7]== 1 ){ echo 'YES'; }else{ echo 'NO'; }
<?php fscanf(STDIN, "%d %d %d", $a, $b, $c); $array1 = array($a,$b,$c); $count5 = array_count_values($array1); if($count5[5]== 2 && $count5[7]== 1 ){ echo 'YES'; }else{ echo 'NO'; }
[ "misc.php_tag.add" ]
1,528,551
1,528,552
u282597059
php
p02389
<?php $input = fgets(STDIN); $array = explode(" ",$input); $area = $array[0] * $array[1]; $around = 2 * ($array[0] + $array[1]); print($area.(" ").around); ?>
<?php $input = fgets(STDIN); $array = explode(" ",$input); $area = $array[0] * $array[1]; $around = 2 * ($array[0] + $array[1]); print($area.(" ").$around); ?>
null
143,716
143,717
u213503793
php
p02391
<?php $stdin = explode(' ',trim(fgets(STDIN))); if($stdin[0]<$stdin[1]){ echo 'a < b'; }elseif($stdin[0]>$stdin[1]){ echo 'a > b'; }elseif($stdin[0]===$stdin[1]){ echo 'a === b'; } ?>
<?php $stdin = explode(' ',trim(fgets(STDIN))); if($stdin[0]<$stdin[1]){ echo 'a < b'; }elseif($stdin[0]>$stdin[1]){ echo 'a > b'; }elseif($stdin[0]===$stdin[1]){ echo 'a == b'; } ?>
null
153,391
153,392
u441889394
php
p02411
<?php while( ! feof(STDIN)) { $input = trim(fgets(STDIN)); if ($input == "-1 -1 -1"){ break; } else { $array = explode(" ", $input); $m = (int)$array[0]; $f = (int)$array[1]; $r = (int)$array[2]; if ( $m == -1 || $f == -1 ) { echo "F"; ...
<?php while( ! feof(STDIN)) { $input = trim(fgets(STDIN)); if ($input == "-1 -1 -1"){ break; } else { $array = explode(" ", $input); $m = (int)$array[0]; $f = (int)$array[1]; $r = (int)$array[2]; if ( $m == -1 || $f == -1 ) { echo "F\n"; ...
null
211,258
211,259
u759791460
php
p02412
<?php while (true) { fscanf(STDIN, '%d %d', $n, $x); if (isEnd($n, $x)) { break; }; $count = 0; for ($i = 1; $i < ($x / 3); $i++) { for ($j = $i + 1; $j < (($x - $i) / 2); $j++) { $remainder = $x - ($i + $j); if ($n < $remainder && $remainder <= $j) { continue; } ...
<?php while (true) { fscanf(STDIN, '%d %d', $n, $x); if (isEnd($n, $x)) { break; }; $count = 0; for ($i = 1; $i < ($x / 3); $i++) { for ($j = $i + 1; $j < (($x - $i) / 2); $j++) { $remainder = $x - ($i + $j); if ($n < $remainder || $remainder <= $j) { continue; } ...
null
212,757
212,758
u173452553
php
p02412
<?php while (true) { fscanf(STDIN, '%d %d', $n, $x); if (isEnd($n, $x)) { break; }; $count = 0; for ($i = 1; $i <= ($x / 3); $i++) { for ($j = $i + 1; $j <= (($x - $i) / 2); $j++) { $remainder = $x - ($i + $j); if ($n < $remainder && $remainder <= $j) { continue; } ...
<?php while (true) { fscanf(STDIN, '%d %d', $n, $x); if (isEnd($n, $x)) { break; }; $count = 0; for ($i = 1; $i < ($x / 3); $i++) { for ($j = $i + 1; $j < (($x - $i) / 2); $j++) { $remainder = $x - ($i + $j); if ($n < $remainder || $remainder <= $j) { continue; } ...
null
212,759
212,758
u173452553
php
p03835
<?php /** * @see: https://atcoder.jp/contests/abc051/tasks/abc051_b */ function getInput(): array { return array_map('intval', explode(' ', trim(fgets(STDIN)))); } function calculate(int $K, int $S): int { $numberOfTriples = 0; for ($X = 0; $X <= $S; $X++) { for ($Y = 0; $Y <= $S - $X; $Y++) { ...
<?php /** * @see: https://atcoder.jp/contests/abc051/tasks/abc051_b */ function getInput(): array { return array_map('intval', explode(' ', trim(fgets(STDIN)))); } function calculate(int $K, int $S): int { $numberOfTriples = 0; for ($X = 0; $X <= $K; $X++) { for ($Y = 0; $Y <= $K; $Y++) { ...
null
1,454,811
1,454,812
u933994576
php
p00000
#include <algorithm> #include <iostream> #include <map> #include <queue> #include <string> #include <utility> using namespace std; typedef long long Int; #define REP(i, x) for (int i = 0; i < x; ++i) int main() { REP(i, 10) { REP(j, 10) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
#include <algorithm> #include <iostream> #include <map> #include <queue> #include <string> #include <utility> using namespace std; typedef long long Int; #define REP(i, x) for (int i = 1; i < x; ++i) int main() { REP(i, 10) { REP(j, 10) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "preprocessor.define.value.change", "literal.integer.change" ]
1,404
1,405
u520706050
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 0; j < 10; j++) cout << i << "x" << j << "=" << i * j << endl; } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) cout << i << "x" << j << "=" << i * j << endl; } return 0; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
1,408
1,409
u217241663
cpp
p00000
#include <algorithm> #include <iostream> #include <vector> using namespace std; class range { private: struct Iterator { int val, inc; int operator*() { return val; } bool operator!=(Iterator &itr) { return val != itr.val; } void operator++() { val += inc; } }; Iterator i, n; public: range(in...
#include <algorithm> #include <iostream> #include <vector> using namespace std; class range { private: struct Iterator { int val, inc; int operator*() { return val; } bool operator!=(Iterator &itr) { return val != itr.val; } void operator++() { val += inc; } }; Iterator i, n; public: range(in...
[ "call.arguments.add" ]
1,415
1,416
u823048060
cpp
p00000
#include <stdio.h> int main() { for (int i = 0; i < 9; i++) { for (int j = 0; j < 9; j++) { printf("%dx%d=%d", i + 1, j + 1, (i + 1) * (j + 1)); } } }
#include <stdio.h> int main() { for (int i = 0; i < 9; i++) { for (int j = 0; j < 9; j++) { printf("%dx%d=%d\n", i + 1, j + 1, (i + 1) * (j + 1)); } } }
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add" ]
1,417
1,418
u676399799
cpp
p00000
#include "iostream" using namespace std; int main() { int mplication, mplicand; for (int mplication = 1; mplication <= 9; ++mplication) { for (int mplicand = 1; mplicand <= 9; ++mplicand) { cout << mplication << "*" << mplicand << "x" << mplication * mplicand << endl; } } return 0; ...
#include "iostream" using namespace std; int main() { int mplication, mplicand; for (int mplication = 1; mplication <= 9; ++mplication) { for (int mplicand = 1; mplicand <= 9; ++mplicand) { cout << mplication << "x" << mplicand << "=" << mplication * mplicand << endl; } } return 0; ...
[ "literal.string.change", "io.output.change" ]
1,419
1,420
u397630829
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "×" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,421
1,422
u694202139
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 10; i++) { for (int j = 1; j <= 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change" ]
1,426
1,425
u576398884
cpp
p00000
#include <stdio.h> #define rep(i, n) for (int i = 0; i < n; i++) int main() { rep(i, 9) rep(ii, 9) { printf("%d*%d=%d\n", i + 1, ii + 1, (i + 1) * (ii + 1)); } return 0; }
#include <stdio.h> #define rep(i, n) for (int i = 0; i < n; i++) int main() { rep(i, 9) rep(ii, 9) { printf("%dx%d=%d\n", i + 1, ii + 1, (i + 1) * (ii + 1)); } return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,429
1,430
u618330043
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 0; i < 9; i++) { for (int j = 0; j < 9; j++) { cout << i << 'x' << j << '=' << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { cout << i << 'x' << j << '=' << i * j << endl; } } return 0; }
[ "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" ]
1,441
1,442
u910106747
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 0; i < 10; ++i) { for (int j = 0; j < 10; ++j) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; ++i) { for (int j = 1; j < 10; ++j) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
1,444
1,445
u802606388
cpp
p00000
#include <stdio.h> int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { printf("%d×%d=%d\n", i, j, i * j); } } return 0; }
#include <stdio.h> int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { printf("%dx%d=%d\n", i, j, i * j); } } return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,448
1,449
u745328149
cpp
p00000
#include <stdio.h> int main() { for (int i = 1; i <= 9; i++) for (int j = 1; j <= 9; j++) printf("%d x %d = %d\n", i, j, i * j); return 0; }
#include <stdio.h> int main() { for (int i = 1; i <= 9; i++) for (int j = 1; j <= 9; j++) printf("%dx%d=%d\n", i, j, i * j); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,450
1,451
u389172382
cpp
p00000
#include <stdio.h> int main() { for (int i = 1; i <= 9; i++) for (int j = 1; j <= 9; j++) printf("%dx%d = %d\n", i, j, i * j); return 0; }
#include <stdio.h> int main() { for (int i = 1; i <= 9; i++) for (int j = 1; j <= 9; j++) printf("%dx%d=%d\n", i, j, i * j); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,452
1,451
u389172382
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) cout << i << "*" << j << "=" << i * j << endl; } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) cout << i << "x" << j << "=" << i * j << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
1,455
1,456
u713430847
cpp
p00000
#include <stdio.h> int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { printf("%dx%d=%d", i, j, i * j); } } return 0; }
#include <stdio.h> int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { printf("%dx%d=%d\n", i, j, i * j); } } return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add" ]
1,459
1,460
u305077559
cpp
p00000
#include <stdio.h> int main() { int i, j, k; for (i = 1; i <= 9; i++) { for (j = 1; j <= 9; j++) { k = i * j; printf("%d x %d = %d\n", i, j, k); } } return 0; }
#include <stdio.h> int main() { int i, j, k; for (i = 1; i <= 9; i++) { for (j = 1; j <= 9; j++) { k = i * j; printf("%dx%d=%d\n", i, j, k); } } return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,461
1,462
u528773839
cpp
p00000
#include <cstdio> #include <iostream> using namespace std; ; int main(void) { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { printf("%d x %d = %d\n", i, j, i * j); } } return 0; }
#include <cstdio> #include <iostream> using namespace std; ; int main(void) { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { printf("%dx%d=%d\n", i, j, i * j); } } return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,463
1,464
u782900939
cpp
p00000
#include <iostream> #include <stdio.h> using namespace std; int main() { int a, b; for (a = 0; a < 10; a++) { for (b = 0; b < 10; b++) { cout << a << "x" << b << "=" << a * b << endl; } } return 0; }
#include <iostream> #include <stdio.h> using namespace std; int main() { int a, b; for (a = 1; a < 10; a++) { for (b = 1; b < 10; b++) { cout << a << "x" << b << "=" << a * b << endl; } } return 0; }
[ "literal.number.change", "assignment.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
1,465
1,466
u071586889
cpp
p00000
#include <iostream> using namespace std; int main() { int i, j; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { cout << i << "??" << j << "=" << i * j << '\n'; } } return 0; }
#include <iostream> using namespace std; int main() { int i, j; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << '\n'; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,467
1,468
u002433243
cpp
p00000
#include <iostream> using namespace std; int main() { int n1, n2; for (n1 = 1; n1 <= 9; n1++) { for (n2 = 1; n2 <= 9; n2++) { cout << n1 << "×" << n2 << "=" << n1 * n2 << "\n"; } } return 0; }
#include <iostream> using namespace std; int main() { int n1, n2; for (n1 = 1; n1 <= 9; n1++) { for (n2 = 1; n2 <= 9; n2++) { cout << n1 << "x" << n2 << "=" << n1 * n2 << "\n"; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,470
1,471
u116231936
cpp
p00000
// big_number.cpp : Defines the entry point for the console application. // #include <iostream> #include <string> #include <vector> using namespace std; int main() { for (int i = 1; i <= 9; ++i) { for (int j = 1; j <= 9; ++j) { cout << i << "*" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> #include <string> #include <vector> using namespace std; int main() { for (int i = 1; i <= 9; ++i) { for (int j = 1; j <= 9; ++j) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,473
1,474
u033977183
cpp
p00000
#include <cstdio> #define N 9 int main() { for (int i = 1; i <= N; i++) { for (int j = 1; j < N; j++) { ::printf("%dx%d=%d\n", i, j, i * j); } } }
#include <cstdio> #define N 9 int main() { for (int i = 1; i <= N; i++) { for (int j = 1; j <= N; j++) { ::printf("%dx%d=%d\n", i, j, i * j); } } return (0); }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change", "control_flow.return.add" ]
1,479
1,480
u248404432
cpp
p00000
#include <bits/stdc++.h> using namespace std; int main() { int i, j; for (i = 0; i < 0; i++) { for (j = 0; j < 0; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int i, j; for (i = 1; i <= 9; i++) { for (j = 1; j <= 9; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.number.change", "assignment.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one", "control_flow.loop.for.condition.change" ]
1,482
1,483
u399801521
cpp
p00000
#include <iostream> using namespace std; int main() { int i; // x*y???x??¨?????¨ int k; // x*y???y??¨?????¨ int seki = 0; //?????¨?????¨ for (i = 1; i <= 9; i++) { for (k = 1; k <= 9; k++) { seki = i * k; std::cout << i; std::cout << "??"; std::cout << k; std::c...
#include <iostream> using namespace std; int main() { int i; // x*y???x??¨?????¨ int k; // x*y???y??¨?????¨ int seki = 0; //?????¨?????¨ for (i = 1; i <= 9; i++) { for (k = 1; k <= 9; k++) { seki = i * k; std::cout << i; std::cout << "x"; std::cout << k; std::co...
[ "literal.string.change", "expression.operation.binary.change" ]
1,485
1,486
u449188307
cpp
p00000
#include <iostream> int main() { for (int i = 0; i <= 9; i++) for (int j = 0; j <= 9; j++) std::cout << i << "x" << j << "=" << i * j << std::endl; }
#include <iostream> int main() { for (int i = 1; i <= 9; i++) for (int j = 1; j <= 9; j++) std::cout << i << "x" << j << "=" << i * j << std::endl; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
1,487
1,488
u276203229
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << (i * j); } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << (i * j) << endl; } } return 0; }
[ "io.output.newline.add" ]
1,491
1,492
u779183052
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) for (int j = 1; j < 10; j++) { cout << i << "??" << j << "=" << i * j << endl; } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
1,493
1,494
u894396835
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) for (int j = 1; j < 10; j++) cout << i << "*" << j << "=" << i * j << endl; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) for (int j = 1; j < 10; j++) cout << i << "x" << j << "=" << i * j << endl; }
[ "literal.string.change", "io.output.change" ]
1,499
1,500
u296395710
cpp
p00000
#include <stdio.h> int main(void) { for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { printf("%dx%d=%d", i, j, i * j); } } }
#include <stdio.h> int main(void) { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { printf("%dx%d=%d\n", i, j, i * j); } } }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one", "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add" ]
1,501
1,502
u576571288
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 0; i < 9; ++i) { for (int j = 0; j < 9; ++j) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; ++i) { for (int j = 1; j < 10; ++j) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
1,506
1,505
u554423044
cpp
p00000
#include <cstdio> int main() { for (int i = 0; i < 9; ++i) { for (int j = 0; j < 9; ++j) { printf("%d x %d = %d\n", i + 1, j + 1, (i + 1) * (j + 1)); } } return 0; }
#include <cstdio> int main() { for (int i = 0; i < 9; ++i) { for (int j = 0; j < 9; ++j) { printf("%dx%d=%d\n", i + 1, j + 1, (i + 1) * (j + 1)); } } return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,507
1,508
u145469302
cpp
p00000
#include <iostream> using namespace std; int main() { int i; int x; int y; for (i = 1; i <= 9; i++) { for (x = 1; x <= 9; x++) { y = i * x; cout << i << "??" << x << "???" << y << endl; } } return 0; }
#include <iostream> using namespace std; int main() { int i; int x; int y; for (i = 1; i <= 9; i++) { for (x = 1; x <= 9; x++) { y = i * x; cout << i << "x" << x << "=" << y << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,513
1,514
u367381296
cpp
p00000
#include <iostream> using namespace std; int main() { for (int ii = 1; ii < 10; ii++) { for (int i = 1; i < 10; i++) { cout << ii << "×" << i << "=" << i * ii << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int ii = 1; ii < 10; ii++) { for (int i = 1; i < 10; i++) { cout << ii << "x" << i << "=" << i * ii << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,516
1,517
u392654369
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { cout << i << "*" << j << "=" << i * j << endl; } } }
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { cout << i << "x" << j << "=" << i * j << endl; } } }
[ "literal.string.change", "io.output.change" ]
1,520
1,521
u359254383
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { cout << i << "??" << j << "=" << i * j << endl; } } }
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { cout << i << "x" << j << "=" << i * j << endl; } } }
[ "literal.string.change", "io.output.change" ]
1,522
1,521
u359254383
cpp
p00000
#include <iostream> using namespace std; int main() { int i, j; for (i = 0; i < 10; i++) { for (j = 0; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { int i, j; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.number.change", "assignment.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
1,530
1,531
u583163141
cpp
p00000
#include <iostream> using namespace std; int main() { int m, n; m = 0; n = 1; while (true) { if (n == 10) { m = m + 1; n = 1; } if (m == 10) break; cout << m << 'x' << n << "=" << m * n << endl; n++; } return 0; }
#include <iostream> using namespace std; int main() { int m, n; m = 1; n = 1; while (true) { if (n == 10) { m = m + 1; n = 1; } if (m == 10) break; cout << m << 'x' << n << "=" << m * n << endl; n++; } return 0; }
[ "literal.number.change", "assignment.value.change" ]
1,532
1,533
u252365561
cpp
p00000
#include <iostream> using namespace std; int main() { for (int a = 1; a <= 9; a++) { for (int b = 1; b <= 9; b++) { cout << a << "*" << b << "=" << a * b << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int a = 1; a <= 9; a++) { for (int b = 1; b <= 9; b++) { cout << a << "x" << b << "=" << a * b << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,535
1,536
u461301234
cpp
p00000
#include <iostream> using namespace std; int main() { for (int n = 1; n <= 9; n++) for (int m = 1; m <= 9; m++) cout << m << "x" << n << "=" << m * n << endl; return 0; }
#include <iostream> using namespace std; int main() { for (int n = 1; n <= 9; n++) for (int m = 1; m <= 9; m++) cout << n << "x" << m << "=" << m * n << endl; return 0; }
[ "identifier.change", "io.output.change" ]
1,537
1,538
u102391753
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; ++i) { for (int j = 1; j <= 9; ++j) { cout << i << "??" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; ++i) { for (int j = 1; j <= 9; ++j) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,539
1,540
u218520956
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 0; i < 9; i++) { for (int j = 0; j < 9; j++) cout << i << "x" << j << "=" << i * j << endl; } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
1,542
1,543
u284652320
cpp
p00000
#include <bits/stdc++.h> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { printf("%dx%d=%d\n", i, j); } } }
#include <bits/stdc++.h> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { printf("%dx%d=%d\n", i, j, i * j); } } }
[ "call.arguments.add" ]
1,544
1,545
u823513038
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 0; i < 10; ++i) { for (int j = 0; j < 10; ++j) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; ++i) { for (int j = 1; j < 10; ++j) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
1,546
1,547
u117595013
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 0; i < 10; ++i) { for (int j = 0; j < 10; ++j) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; ++i) { for (int j = 1; j < 10; ++j) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
1,548
1,547
u117595013
cpp
p00000
#include <iostream> using namespace std; int main() { int i, j; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { cout << i << "*" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { int i, j; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,550
1,551
u760850533
cpp
p00000
#include <algorithm> #include <iostream> #include <stdlib.h> #include <string> #include <vector> using namespace std; int main(void) { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "??" << j << "=" << i * j << endl; } } return 0; }
#include <algorithm> #include <iostream> #include <stdlib.h> #include <string> #include <vector> using namespace std; int main(void) { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,552
1,553
u215283046
cpp
p00000
#include <algorithm> #include <climits> #include <cmath> #include <iostream> #include <string> #include <vector> using namespace std; #define str to_string #define rep(i, n) for (int i = 0; i < int(n); i++) #define all(c) (c).begin(), (c).end() int main() { rep(i, 10) rep(j, 10) cout << i << "x" << j << "=" << i *...
#include <algorithm> #include <climits> #include <cmath> #include <iostream> #include <string> #include <vector> using namespace std; #define str to_string #define rep(i, n) for (int i = 1; i < int(n); i++) #define all(c) (c).begin(), (c).end() int main() { rep(i, 10) rep(j, 10) cout << i << "x" << j << "=" << i *...
[ "preprocessor.define.value.change", "literal.integer.change" ]
1,561
1,562
u235282710
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int k = 1; k <= 9; k++) { cout << i << "×" << k << "=" << i * k << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int k = 1; k <= 9; k++) { cout << i << "x" << k << "=" << i * k << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,599
1,600
u123105801
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; i++) for (int j = 1; j <= 9; j++) cout << i << "x" << j << "=" << i * j; return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i <= 9; i++) for (int j = 1; j <= 9; j++) cout << i << "x" << j << "=" << i * j << endl; return 0; }
[ "io.output.newline.add" ]
1,601
1,602
u603523030
cpp
p00000
#include <algorithm> #include <cmath> #include <cstdio> #include <iomanip> #include <iostream> #include <string> #include <vector> using namespace std; #define FOR(i, a, b) for (long long int i = (a); i < (b); i++) #define REP(i, n) for (long long int i = 0; i < (n); i++) #define PI 3.14159265358479 int main() { R...
#include <algorithm> #include <cmath> #include <cstdio> #include <iomanip> #include <iostream> #include <string> #include <vector> using namespace std; #define FOR(i, a, b) for (long long int i = (a); i < (b); i++) #define REP(i, n) for (long long int i = 0; i < (n); i++) #define PI 3.14159265358479 int main() { R...
[ "literal.string.change", "io.output.change" ]
1,603
1,604
u529214876
cpp
p00000
#include <iostream> using namespace std; int main(void) { for (int a = 1; a <= 9; a++) { for (int b = 1; b <= 9; b++) { cout << a << "??" << b << "=" << a * b << endl; } } return 0; }
#include <iostream> using namespace std; int main(void) { for (int a = 1; a <= 9; a++) { for (int b = 1; b <= 9; b++) { cout << a << "x" << b << "=" << a * b << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,605
1,606
u995466695
cpp
p00000
#include <cstdio> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { printf("%d??%d=%d", i, j, i * j); } } return 0; }
#include <cstdio> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { printf("%dx%d=%d\n", i, j, i * j); } } return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add" ]
1,607
1,608
u910692917
cpp
p00000
//============================================================================ // Name : svdzva.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ #include <io...
//============================================================================ // Name : svdzva.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ #include <io...
[ "literal.string.change", "io.output.change" ]
1,610
1,611
u912353364
cpp
p00000
#include <cstdio> #define rep1(i, x) for (int i = 1; i <= x; ++i) int main() { rep1(i, 9) rep1(j, 9) printf("%dx%d=%d", i, j, i * j); }
#include <cstdio> #define rep1(i, x) for (int i = 1; i <= x; ++i) int main() { rep1(i, 9) rep1(j, 9) printf("%dx%d=%d\n", i, j, i * j); }
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add" ]
1,612
1,613
u151433944
cpp
p00000
#include <cstdio> using namespace std; #define rep(i, x) for (int i = 0; i < x; ++i) int main() { for (int i = 1; i <= 9; ++i) { for (int j = 1; j <= 9; ++j) { printf("%dx%d\n", i, j, i * j); } } }
#include <cstdio> using namespace std; #define rep(i, x) for (int i = 0; i < x; ++i) int main() { for (int i = 1; i <= 9; ++i) { for (int j = 1; j <= 9; ++j) { printf("%dx%d=%d\n", i, j, i * j); } } }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,614
1,615
u151433944
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { cout << i << 'x' << j << '=' << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << 'x' << j << '=' << i * j << endl; } } return 0; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
1,618
1,619
u851513436
cpp
p00000
#include <iostream> using namespace std; int main() { // your code goes here int i = 0, j = 0; for (i = 1; i <= 9; i++) { for (j = 1; j <= 9; j++) { cout << i << "*" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { // your code goes here int i = 0, j = 0; for (i = 1; i <= 9; i++) { for (j = 1; j <= 9; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,620
1,621
u180715096
cpp
p00000
#include <iostream> using namespace std; int main() { for (int j = 1; j < 10; j++) for (int i = 1; i < 10; i++) cout << j << 'x' << i << '=' << j + i << endl; }
#include <iostream> using namespace std; int main() { for (int j = 1; j < 10; j++) for (int i = 1; i < 10; i++) cout << j << 'x' << i << '=' << j * i << endl; }
[ "expression.operator.arithmetic.change", "io.output.change" ]
1,625
1,626
u682405356
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 0; j < 10; j++) { cout << i << 'x' << j << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << 'x' << j << '=' << i * j << endl; } } return 0; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one", "io.output.change" ]
1,627
1,628
u841770308
cpp
p00000
#include <cstdio> #include <iostream> using namespace std; int main() { int i, j; for (i = 1; i <= 9; i++) for (j = 1; j <= 0; j++) printf("%dx%d=%d\n", i, j, i * j); return 0; }
#include <cstdio> #include <iostream> using namespace std; int main() { int i, j; for (i = 1; i <= 9; i++) for (j = 1; j <= 9; j++) printf("%dx%d=%d\n", i, j, i * j); return 0; }
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
1,632
1,633
u018039367
cpp
p00000
#include <iostream> using namespace std; int main() { int n, m; for (int n = 1; n <= 9; n++) { for (int m = 1; m <= 9; m++) { cout << n << "??" << m << "=" << n * m << endl; } } // your code goes here return 0; }
#include <iostream> using namespace std; int main() { int n, m; for (int n = 1; n <= 9; n++) { for (int m = 1; m <= 9; m++) { cout << n << "x" << m << "=" << n * m << endl; } } // your code goes here return 0; }
[ "literal.string.change", "io.output.change" ]
1,641
1,642
u336055029
cpp
p00000
#include <bits/stdc++.h> #define times(i, a) for (int i = 0; i < (int)a; i++) using namespace std; int main() { times(i, 9) times(j, 9) printf("%dx%d=%d", i + 1, j + 1, (i + 1) * (j + 1)); return 0; }
#include <bits/stdc++.h> #define times(i, a) for (int i = 0; i < (int)a; i++) using namespace std; int main() { times(i, 9) times(j, 9) printf("%dx%d=%d\n", i + 1, j + 1, (i + 1) * (j + 1)); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add" ]
1,643
1,644
u211138527
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) cout << i << 'x' << j << '=' << i * j << endl; } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) cout << i << 'x' << j << '=' << i * j << endl; } return 0; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
1,658
1,659
u490319842
cpp
p00000
#include <iostream> using namespace std; int main() { int a = 1; int b = 1; for (a = 1; a <= 9; a++) { for (b = 1; b <= 9; b++) { cout << a << "*" << b << "=" << a * b << "\n"; } } return 0; }
#include <iostream> using namespace std; int main() { int a = 1; int b = 1; for (a = 1; a <= 9; a++) { for (b = 1; b <= 9; b++) { cout << a << "x" << b << "=" << a * b << "\n"; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,661
1,662
u811058288
cpp
p00000
#include <algorithm> #include <iostream> #include <queue> #include <set> #include <stack> #include <string> using namespace std; int main() { int a; int b; for (a = 1; a <= 9; a++) { for (b = 1; b <= 9; b++) { cout << a << "x" << b << "=" << a * b; } } return 0; }
#include <algorithm> #include <iostream> #include <queue> #include <set> #include <stack> #include <string> using namespace std; int main() { int a; int b; for (a = 1; a <= 9; a++) { for (b = 1; b <= 9; b++) { cout << a << "x" << b << "=" << a * b << endl; } } return 0; }
[ "io.output.newline.add" ]
1,663
1,664
u891466855
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; ++i) { for (int j = 0; j < 10; ++j) { cout << i << 'x' << j << '=' << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; ++i) { for (int j = 1; j < 10; ++j) { cout << i << 'x' << j << '=' << i * j << endl; } } return 0; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
1,665
1,666
u726778078
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j <= 10; j++) { cout << i << "*" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change", "literal.string.change", "io.output.change" ]
1,667
1,668
u829912068
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j <= 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change" ]
1,669
1,668
u829912068
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j <= 10; j++) { cout << i << "*" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change", "literal.string.change", "io.output.change" ]
1,667
1,670
u829912068
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j <= 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change" ]
1,669
1,670
u829912068
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "×" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,672
1,670
u829912068
cpp
p00000
#include <iostream> int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { std::cout << i << "*" << j << "=" << i * j << std::endl; } } return 0; }
#include <iostream> int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { std::cout << i << "x" << j << "=" << i * j << std::endl; } } return 0; }
[ "literal.string.change", "expression.operation.binary.change" ]
1,673
1,674
u317873956
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int m = m; m < 10; m++) { cout << i << "x" << m << "=" << i * m << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int m = 1; m < 10; m++) { cout << i << "x" << m << "=" << i * m << endl; } } return 0; }
[ "variable_declaration.value.change", "identifier.replace.remove", "literal.replace.add", "control_flow.loop.for.initializer.change" ]
1,676
1,677
u873028431
cpp
p00000
#include <iostream> using std::cout; using std::endl; int main() { for (int x = 1; x <= 9; x++) { for (int y = 1; y <= 9; y++) { cout << x << "??" << y << "???" << x * y << endl; } } return 0; }
#include <iostream> using std::cout; using std::endl; int main() { for (int x = 1; x <= 9; x++) { for (int y = 1; y <= 9; y++) { cout << x << "x" << y << "=" << x * y << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,678
1,679
u169122087
cpp
p00000
#include <iostream> using std::cout; using std::endl; int main() { for (int x = 1; x <= 9; x++) { for (int y = 1; y <= 9; y++) { cout << x << "??" << y << "=" << x * y << endl; } } return 0; }
#include <iostream> using std::cout; using std::endl; int main() { for (int x = 1; x <= 9; x++) { for (int y = 1; y <= 9; y++) { cout << x << "x" << y << "=" << x * y << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,683
1,684
u169122087
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
1,686
1,687
u813832396
cpp
p00000
#include <bits/stdc++.h> #define LL long long //#define rep(i,n) for (int i=0;i<(n);i++) #define rep(i, x, n) for (int i = x; i < (n); i++) using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); rep(i, 1, 9) { rep(j, 1, 9) { cout << i << "x" << j << "=" << i * j << endl; } } return 0...
#include <bits/stdc++.h> #define LL long long //#define rep(i,n) for (int i=0;i<(n);i++) #define rep(i, x, n) for (int i = x; i < (n); i++) using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); rep(i, 1, 10) { rep(j, 1, 10) { cout << i << "x" << j << "=" << i * j << endl; } } return...
[ "literal.number.change", "call.arguments.change" ]
1,688
1,689
u021217762
cpp
p00000
#include <iostream> using namespace std; int main(void) { int i, j; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { cout << i << "*" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main(void) { int i, j; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,694
1,693
u442403079
cpp
p00000
#include <iostream> using namespace std; int main(void) { int i, j; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { cout << i << "???" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main(void) { int i, j; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,695
1,693
u442403079
cpp
p00000
#include <iostream> using namespace std; int main() { for (int x = 1; x < 10; x++) { for (int y = 1; y < 10; y++) { cout << x << "*" << y << "=" << x * y << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int x = 1; x < 10; x++) { for (int y = 1; y < 10; y++) { cout << x << "x" << y << "=" << x * y << endl; } } return 0; }
[ "literal.string.change", "io.output.change" ]
1,696
1,697
u652607813
cpp
p00000
#include <algorithm> #include <iostream> #include <sstream> #include <string> #include <vector> using namespace std; int main() { vector<string> sv; for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { stringstream ss; ss << i << '*' << j << '=' << i * j << '\n'; string temp = ss.st...
#include <algorithm> #include <iostream> #include <sstream> #include <string> #include <vector> using namespace std; int main() { vector<string> sv; for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { stringstream ss; ss << i << 'x' << j << '=' << i * j << '\n'; string temp = ss.st...
[ "literal.string.change", "expression.operation.binary.change", "call.add" ]
1,705
1,706
u825264062
cpp
p00000
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; typedef vector<ii> vii; const int MOD = 1000000007; const int INF = int(1e9); int main() { ios_base::sync_with_stdio(false); for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { ...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; typedef vector<ii> vii; const int MOD = 1000000007; const int INF = int(1e9); int main() { ios_base::sync_with_stdio(false); for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { ...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,707
1,708
u494789153
cpp
p00000
#include <iostream> using namespace std; int main() { int a, b, c; b = 1; for (a = 1; a <= 9 && b <= 9; b++) { c = a * b; cout << a << "x" << b << "=" << c << endl; if (b == 9) { a++; b = 1; } } return 0; }
#include <iostream> using namespace std; int main() { int a, b, c; b = 1; for (a = 1; a <= 9 && b <= 9; b++) { c = a * b; cout << a << "x" << b << "=" << c << endl; if (b == 9) { a++; b = 0; } } return 0; }
[ "literal.number.change", "assignment.value.change" ]
1,719
1,720
u951250295
cpp
p00000
#include <stdio.h> int main() { int i, j; for (i = 1; i <= 9; i++) { for (j = 1; j <= 9; j++) { printf("%dx%d=%dn", i, j, i * j); } } return 0; }
#include <stdio.h> int main() { int i, j; for (i = 1; i <= 9; i++) { for (j = 1; j <= 9; j++) { printf("%dx%d=%d\n", i, j, i * j); } } getchar(); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add", "call.add" ]
1,723
1,724
u625971028
cpp
p00000
#include <cstdio> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { printf("%dx%d=%d", i, j, i * j); } } return 0; }
#include <cstdio> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { printf("%dx%d=%d\n", i, j, i * j); } } return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add" ]
1,727
1,728
u409730492
cpp
p00000
#include <iostream> using namespace std; int main() { int i, j, l; for (i = 1; i <= 9; i++) { for (j = 1; j <= 9; j++) { cout << i << "*" << j << "=" << i * j << endl; } } }
#include <iostream> using namespace std; int main() { int i, j, l; for (i = 1; i <= 9; i++) { for (j = 1; j <= 9; j++) { cout << i << "x" << j << "=" << i * j << endl; } } }
[ "literal.string.change", "io.output.change" ]
1,729
1,730
u908905250
cpp
p00000
#include <algorithm> #include <bitset> #include <iostream> #include <queue> #include <set> #include <string> #include <vector> #define rep(i, n) for (int i = 0; i < n; i++) #define REP(i, b, n) for (int i = b; i < n; i++) const float PI = 3.1415926; static const int INFTY = (1 << 30); using namespace std; typedef l...
#include <algorithm> #include <bitset> #include <iostream> #include <queue> #include <set> #include <string> #include <vector> #define rep(i, n) for (int i = 0; i < n; i++) #define REP(i, b, n) for (int i = b; i < n; i++) const float PI = 3.1415926; static const int INFTY = (1 << 30); using namespace std; typedef l...
[ "identifier.change", "call.function.change", "call.arguments.add" ]
1,744
1,745
u890265381
cpp
p00000
#include <stdio.h> main() { //??????????????????????????????????????????????????¢?????¢?????????????????????????????¶?????¶??? for (int i = 1; i <= 9; i++) for (int j = 1; j <= 9; j++) printf("%dx%d=%d", i, j, i * j); }
#include <stdio.h> main() { //???????????? for (int i = 1; i <= 9; i++) for (int j = 1; j <= 9; j++) printf("%dx%d=%d\n", i, j, i * j); }
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add" ]
1,746
1,747
u220324665
cpp
p00000
#include <iostream> using namespace std; int main() { for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { cout << i << "x" << j << "=" << i * j << endl; } } return 0; }
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.initializer.change", "expression.off_by_one" ]
1,748
1,749
u669317819
cpp
p00000
#include <iostream> using namespace std; int main() { int m1, m2; m1 = 1; m2 = 1; for (m1; m1 < 10; m1++) { for (m2; m2 < 10; m2++) { cout << m1 << "x" << m2 << "=" << m1 * m2 << endl; } } return 0; }
#include <iostream> using namespace std; int main() { int m1, m2; m1 = 1; m2 = 1; for (m1; m1 < 10; m1++) { for (m2; m2 < 10; m2++) { cout << m1 << "x" << m2 << "=" << m1 * m2 << endl; } m2 = 1; } return 0; }
[ "assignment.add" ]
1,754
1,755
u559945002
cpp
p00000
#define _CRT_SECURE_NO_WARNINGS #include <math.h> #include <stdio.h> #include <stdlib.h> int main() { int i, j; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { printf("%d x %d = %d\n", i, j, i * j); } } return 0; }
#define _CRT_SECURE_NO_WARNINGS #include <math.h> #include <stdio.h> #include <stdlib.h> int main() { int i, j; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { printf("%dx%d=%d\n", i, j, i * j); } } return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,762
1,763
u551194137
cpp