buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b + 2 * (a + b));
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b + " " + 2 * (a + b));
}
}
| [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 62], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72]] | 3 | 72 |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int a = stdIn.nextInt();
int b = stdIn.nextInt();
int a1 = a * b;
int a2 = 2 * (a + b);
System.out.printf("%d %d/n", a1, a2);
}
}
| import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int a = stdIn.nextInt();
int b = stdIn.nextInt();
int a1 = a * b;
int a2 = 2 * (a + b);
System.out.printf("%d %d\n", a1, a2);
}
}
| [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 44]] | 3 | 85 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b);
System.out.println(2 * (a + b));
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.print(a * b + " ");
System.out.println(2 * (a + b));
}
}
| [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 62], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 491]] | 3 | 79 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
class Main {
public static void main(String[] args) {
String line = readLine(System.in);
StringTokenizer token = new StringTokenizer(line, ",");
int v... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
class Main {
public static void main(String[] args) {
String line = readLine(System.in);
StringTokenizer token = new StringTokenizer(line, " ");
int v... | [["-", 49, 200, 51, 230, 3, 4, 0, 5, 0, 491], ["+", 49, 200, 51, 230, 3, 4, 0, 5, 0, 491]] | 3 | 223 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String n1 = scan.next();
String n2 = scan.next();
Integer a = new Integer(n1);
Integer b = new Integer(n2);
int side = 2 * (a + b);
int area = a * b;
System... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String n1 = scan.next();
String n2 = scan.next();
Integer a = new Integer(n1);
Integer b = new Integer(n2);
int side = 2 * (a + b);
int area = a * b;
System... | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 104 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
try {
int vertical = sc.nextInt();
int horizontal = sc.nextInt();
int size = vertical * horizontal;
int circuit = vertical + horizontal;
StringBuffer sb =... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
try {
int vertical = sc.nextInt();
int horizontal = sc.nextInt();
int size = vertical * horizontal;
int circuit = 2 * vertical + 2 * horizontal;
StringBuf... | [["+", 0, 503, 49, 200, 51, 16, 31, 16, 31, 499], ["+", 0, 503, 49, 200, 51, 16, 31, 16, 17, 48], ["+", 0, 503, 49, 200, 51, 16, 12, 16, 31, 499], ["+", 0, 503, 49, 200, 51, 16, 12, 16, 17, 48]] | 3 | 111 |
import java.lang.*;
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner stdId = new Scanner(System.in);
int a = stdId.nextInt();
int b = stdId.nextInt();
System.out.println(a * b + " " + a + a + b + b);
}
} | import java.lang.*;
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner stdId = new Scanner(System.in);
int a = stdId.nextInt();
int b = stdId.nextInt();
System.out.println((a * b) + " " + (a + a + b + b));
}
} | [["+", 3, 4, 0, 16, 31, 16, 31, 23, 0, 24], ["+", 3, 4, 0, 16, 31, 16, 31, 23, 0, 25], ["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 24], ["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 25]] | 3 | 82 |
import java.util.Scanner;
class Main {
int x, y, men, hen;
public void kozueteacher() {
Scanner sc = new Scanner(System.in);
x = sc.nextInt();
y = sc.nextInt();
men = x * y;
hen = x + x + y + y;
System.out.println(men + "" + hen);
}
public static void main(String[] args) { new Main().koz... | import java.util.Scanner;
class Main {
int x, y, men, hen;
public void kozueteacher() {
Scanner sc = new Scanner(System.in);
x = sc.nextInt();
y = sc.nextInt();
men = x * y;
hen = x + x + y + y;
System.out.println(men + " " + hen);
}
public static void main(String[] args) { new Main().ko... | [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 105 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String arg = br.readLine();
String[] inputArray = arg.s... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String arg = br.readLine();
String[] inputArray = arg.s... | [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 172 |
import java.util.Scanner;
public class Main {
public void solve() {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b + "???" + (a + b) * 2);
}
public static void main(String[] args) {
Main obj = new Main();
obj.solve();
}
}
| import java.util.Scanner;
public class Main {
public void solve() {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b + " " + (a + b) * 2);
}
public static void main(String[] args) {
Main obj = new Main();
obj.solve();
}
}
| [["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 97 |
import java.util.*;
class Main {
public static void main(String[] args) {
Main app = new Main();
app.solve();
}
void solve() {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b);
System.out.println(2 * (a + b));
}
}
| import java.util.*;
class Main {
public static void main(String[] args) {
Main app = new Main();
app.solve();
}
void solve() {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.print(a * b + " ");
System.out.println(2 * (a + b));
}
}
| [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 62], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 491]] | 3 | 98 |
import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] div = str.split(" ");
int a = Integer.parseInt(div[0]);
int b = Integer.parseInt(div[1]);
... | import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] div = str.split(" ");
int a = Integer.parseInt(div[0]);
int b = Integer.parseInt(div[1]);
... | [["+", 0, 503, 49, 200, 51, 16, 12, 23, 0, 24], ["-", 8, 196, 0, 503, 49, 200, 51, 16, 17, 48], ["+", 49, 200, 51, 16, 12, 23, 0, 16, 17, 72], ["+", 0, 503, 49, 200, 51, 16, 12, 23, 0, 25]] | 3 | 120 |
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner x = new Scanner(System.in);
int a, b, c;
a = x.nextInt();
b = x.nextInt();
c = a * b;
a = a * 2 + b * 2;
System.out.println(a + " " + b);
}
} | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner x = new Scanner(System.in);
int a, b, c, d;
a = x.nextInt();
b = x.nextInt();
c = a * b;
a = a * 2 + b * 2;
System.out.println(c + " " + a);
}
} | [["+", 8, 498, 0, 195, 8, 196, 0, 503, 0, 21], ["+", 0, 195, 8, 196, 0, 503, 49, 200, 141, 22], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 88 |
import java.io.*;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
int x = a * b;
int y = 2 * a + 2 * b;
System.out.println(x + y);
}
} | import java.io.*;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
int x = a * b;
int y = 2 * a + 2 * b;
System.out.println(x + " " + y);
}
} | [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 62], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72]] | 3 | 88 |
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
Main m = new Main();
String num_ = br.readLine();
int[] num = m.splitIntChange(num_);
int cir = num[0] * 2 + num[1] * 2;
... | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
Main m = new Main();
String num_ = br.readLine();
int[] num = m.splitIntChange(num_);
int cir = num[0] * 2 + num[1] * 2;
... | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 192 |
import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] str2 = str.split(" ", 1);
int x = Integer.parseInt(str2[0]);
int y = Integer.parseInt(str2[1]);... | import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] str2 = str.split(" ");
int x = Integer.parseInt(str2[0]);
int y = Integer.parseInt(str2[1]);
... | [["-", 0, 503, 49, 200, 51, 492, 3, 4, 0, 21], ["-", 0, 503, 49, 200, 51, 492, 3, 4, 0, 499]] | 3 | 114 |
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] strArray;
strArray = br.readLine().split("\\s");
System.out.println(
... | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] strArray;
strArray = br.readLine().split("\\s");
System.out.println(
... | [["-", 3, 4, 0, 16, 31, 16, 31, 23, 0, 24], ["-", 31, 23, 0, 16, 12, 492, 3, 4, 0, 25], ["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 44], ["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 127 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
scan.close();
String answer = a * b + " " + 2 * a + 2 * b;
System.out.println(answer);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
scan.close();
String answer = a * b + " " + (2 * a + 2 * b);
System.out.println(answer);
}
} | [["+", 0, 503, 49, 200, 51, 16, 12, 23, 0, 24], ["+", 0, 503, 49, 200, 51, 16, 12, 23, 0, 25]] | 3 | 87 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println((a * b) + "" + 2 * (a + b));
}
} | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println((a * b) + " " + 2 * (a + b));
}
} | [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 77 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int area = a * b;
int length = 2 * a + 2 * b;
System.out.println(area + "" + length);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int area = a * b;
int length = 2 * a + 2 * b;
System.out.println(area + " " + length)... | [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 85 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
System.out.println(a * b);
System.out.println(2 * a + 2 * b);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
System.out.print(a * b + " ");
System.out.println(2 * a + 2 * b);
}
} | [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 62], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 491]] | 3 | 79 |
import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in));
String[] line = reader.readLine().split(" ");
int a = Integer.parseInt(line[0]);
int b = Integer.parseInt(line[1]);
... | import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in));
String[] line = reader.readLine().split(" ");
int a = Integer.parseInt(line[0]);
int b = Integer.parseInt(line[1]);
... | [["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 117 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scaner = new Scanner(System.in);
int x1 = Integer.parseInt(scaner.next());
int x2 = Integer.parseInt(scaner.next());
System.out.println(Math.multiplyExact(x1, x2));
System.out.println((x1 * 2) + (x... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scaner = new Scanner(System.in);
int x1 = Integer.parseInt(scaner.next());
int x2 = Integer.parseInt(scaner.next());
System.out.print(Math.multiplyExact(x1, x2) + " ");
System.out.println((x1 * 2) ... | [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 62], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 491]] | 3 | 98 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] depth_width = str.spl... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] depth_width = str.spl... | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 140 |
import java.io.*;
class Main {
public static void main(String[] arg) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] div = str.split(" ");
int s = Integer.parseInt(div[0]);
int l = Integer.parseInt(div[1]);
Sy... | import java.io.*;
class Main {
public static void main(String[] arg) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] div = str.split(" ");
int s = Integer.parseInt(div[0]);
int l = Integer.parseInt(div[1]);
Sy... | [["-", 0, 16, 12, 16, 12, 23, 0, 16, 12, 499], ["+", 0, 16, 12, 16, 12, 23, 0, 16, 12, 22]] | 3 | 112 |
public class Main {
public static void main(String[] args) {
java.util.Scanner scanner = new java.util.Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int num = a * b;
int num2 = 2 * (a + b);
System.out.println(num + num2);
}
} |
public class Main {
public static void main(String[] args) {
java.util.Scanner scanner = new java.util.Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int num = a * b;
int num2 = 2 * (a + b);
System.out.println(num + " " + num2);
}
} | [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 62], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72]] | 3 | 83 |
public class Main {
public static void main(String[] args) {
java.util.Scanner scanner = new java.util.Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
System.out.println(a * b);
System.out.println((a + b) * 2);
}
} |
public class Main {
public static void main(String[] args) {
java.util.Scanner scanner = new java.util.Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
System.out.print(a * b + " ");
System.out.println((a + b) * 2);
}
} | [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 62], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 491]] | 3 | 80 |
import static java.lang.System.out;
public class Main {
public static void main(String[] args) {
String str = new java.util.Scanner(System.in).nextLine();
String[] tmp = str.split(" ");
int a = Integer.parseInt(tmp[0]);
int b = Integer.parseInt(tmp[1]);
int area = a * b;
int circu = (a + b) *... | import static java.lang.System.out;
public class Main {
public static void main(String[] args) {
String str = new java.util.Scanner(System.in).nextLine();
String[] tmp = str.split(" ");
int a = Integer.parseInt(tmp[0]);
int b = Integer.parseInt(tmp[1]);
int area = a * b;
int circu = (a + b) *... | [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 62], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 491]] | 3 | 118 |
import java.io.*;
public class Main {
public static void main(String[] arg) throws IOException {
InputStreamReader is = new InputStreamReader(System.in); //?????????
BufferedReader br = new BufferedReader(is);
String str = br.readLine();
String[] spl = str.split(",", 0);
System.out.println(Integer... | import java.io.*;
public class Main {
public static void main(String[] arg) throws IOException {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
String str = br.readLine();
String[] spl = str.split(" ", 0);
System.out.println(
Integer.pa... | [["-", 49, 200, 51, 492, 3, 4, 0, 5, 0, 491], ["+", 49, 200, 51, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 24], ["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 25]] | 3 | 127 |
import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s = br.readLine();
String[] str = s.split(" ");
int x = Integer.parseInt(str[0]);
int y = Integer.parseInt(str[1]);
int ... | import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s = br.readLine();
// String s = "3 5";
String[] str = s.split(" ");
int x = Integer.parseInt(str[0]);
int y = Integer.pa... | [["-", 49, 200, 51, 16, 31, 23, 0, 16, 12, 22], ["+", 49, 200, 51, 16, 31, 23, 0, 16, 12, 22], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22]] | 3 | 122 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
try {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
String ln;
ln = buf.readLine();
String[] strAry = ln... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
try {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
String ln;
ln = buf.readLine();
String[] strAry = ln... | [["-", 3, 4, 0, 16, 31, 16, 31, 16, 12, 499], ["+", 3, 4, 0, 16, 31, 16, 31, 16, 12, 22]] | 3 | 146 |
import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str1 = br.readLine();
String str2[] = str1.split("");
int a = Integer.parseInt(str2[0]);
int b = Integer.parseInt(str2[1]);
... | import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str1 = br.readLine();
String str2[] = str1.split(" ");
int a = Integer.parseInt(str2[0]);
int b = Integer.parseInt(str2[1]);
... | [["+", 49, 200, 51, 492, 3, 4, 0, 5, 0, 491], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 120 |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
String str = s.nextLine();
String[] array = str.split(" ");
int a = Integer.parseInt(array[0]), b = Integer.parseInt(array[1]);
System.out.println(a * b + " " + a * 2 + b * 2);
}
... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
String str = s.nextLine();
String[] array = str.split(" ");
int a = Integer.parseInt(array[0]), b = Integer.parseInt(array[1]);
System.out.println(a * b + " " + (a * 2 + b * 2));
... | [["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 24], ["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 25]] | 3 | 105 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new java.util.Scanner(System.in);
int a = scan.nextInt(); // height
int b = scan.nextInt(); // width
System.out.println(a * b + "" + (a + b) * 2);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new java.util.Scanner(System.in);
int a = scan.nextInt(); // height
int b = scan.nextInt(); // width
System.out.println(a * b + " " + (a + b) * 2);
}
} | [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 81 |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int m = a * b;
int s = a + a + b + b;
System.out.println(a + " " + b);
}
} | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int m = a * b;
int s = a + a + b + b;
System.out.println(m + " " + s);
}
} | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 85 |
/**
* Created by kaki on 2017/04/17.
*/
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int x = Integer.parseInt(scan.next());
int y = Integer.parseInt(scan.next());
int area = x * y;
int distance = (x + y) * 2;
... | /**
* Created by kaki on 2017/04/17.
*/
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int x = Integer.parseInt(scan.next());
int y = Integer.parseInt(scan.next());
int area = x * y;
int distance = (x + y) * 2;
... | [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 96 |
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
try (BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in))) {
String[] numbers = reader.readLine().split(" ");
int h = Integer.parseInt(numbers[0]);
int w = Int... | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
try (BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in))) {
String[] numbers = reader.readLine().split(" ");
int h = Integer.parseInt(numbers[0]);
int w = Int... | [["-", 3, 4, 0, 16, 31, 23, 0, 16, 17, 48], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 17, 72]] | 3 | 119 |
import java.io.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner cthanh = new Scanner(System.in);
int x;
int y;
x = cthanh.nextInt();
y = cthanh.nextInt();
System.out.print(x * y + " " + 2 * x + 2 * y);
}
}
| import java.io.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner cthanh = new Scanner(System.in);
int x;
int y;
x = cthanh.nextInt();
y = cthanh.nextInt();
System.out.println((x * y) + " " + (2 * x + 2 * y));
}
}
| [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 24], ["+", 3, 4, 0, 16, 31, 16, 31, 23, 0, 25], ["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 24], ["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 25]] | 3 | 89 |
import java.io.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner cthanh = new Scanner(System.in);
int x;
int y;
x = cthanh.nextInt();
y = cthanh.nextInt();
System.out.print(x * y + " " + 2 * x + 2 * y);
}
}
| import java.io.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner cthanh = new Scanner(System.in);
int x;
int y;
x = cthanh.nextInt();
y = cthanh.nextInt();
System.out.println(x * y + " " + (2 * x + 2 * y));
}
}
| [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 24], ["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 25]] | 3 | 89 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
// TODO ??????????????????????????????????????????
String str;
BufferedReader br = new BufferedReader(new InputStreamReader(System... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
// TODO ??????????????????????????????????????????
String str;
BufferedReader br = new BufferedReader(new InputStreamReader(System... | [["+", 49, 200, 51, 492, 3, 4, 0, 5, 0, 491], ["-", 0, 503, 49, 200, 51, 492, 3, 4, 0, 21], ["-", 0, 503, 49, 200, 51, 492, 3, 4, 0, 499], ["-", 49, 200, 51, 492, 3, 4, 0, 504, 71, 499], ["+", 49, 200, 51, 492, 3, 4, 0, 504, 71, 499]] | 3 | 148 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int a = s.nextInt(), b = s.nextInt();
System.out.println(a * b + "," + 2 * (a + b));
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int a = s.nextInt(), b = s.nextInt();
System.out.println(a * b + " " + 2 * (a + b));
}
} | [["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 75 |
import java.io.*;
class Main {
static InputStreamReader isr;
static BufferedReader br;
static String str;
static String[] data = new String[2];
static void initialize() {
isr = new InputStreamReader(System.in);
br = new BufferedReader(isr);
str = null;
for (String d : data) {
d = null;... | import java.io.*;
class Main {
static InputStreamReader isr;
static BufferedReader br;
static String str;
static String[] data = new String[2];
static void initialize() {
isr = new InputStreamReader(System.in);
br = new BufferedReader(isr);
str = null;
for (String d : data) {
d = null;... | [["+", 0, 235, 8, 498, 0, 195, 0, 494, 0, 259]] | 3 | 199 |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
String str = br.readLine();
StringTokenizer st = new StringTokenizer(str, " ");
int a = Integer.parseInt(st.nex... |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
String str = br.readLine();
StringTokenizer st = new StringTokenizer(str, " ");
int a = Integer.parseInt(st.ne... | [["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 62], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 491]] | 3 | 148 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.print(a * b + " " + a * 2 + b * 2);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b + " " + (a * 2 + b * 2));
}
} | [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 24], ["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 25]] | 3 | 76 |
import java.io.*;
public class Main {
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String r = br.readLine();
String[] in = r.split(" ");
int x = Integer.parseInt(in[0]);
int y = Integer.parseInt(in[1]);
... | import java.io.*;
public class Main {
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String r = br.readLine();
String[] in = r.split(" ");
int x = Integer.parseInt(in[0]);
int y = Integer.parseInt(in[1]);
... | [["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 144 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String input = br.readLine();
String[] s = input.split(" "... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String input = br.readLine();
String[] s = input.split(" "... | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 137 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b + " " + a * 2 + b * 2);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b + " " + (a + a + b + b));
}
} | [["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 24], ["-", 3, 4, 0, 16, 31, 16, 12, 16, 17, 48], ["-", 3, 4, 0, 16, 31, 16, 12, 16, 12, 499], ["+", 12, 23, 0, 16, 31, 16, 31, 16, 17, 72], ["+", 12, 23, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 16, 12, 23, 0, 16, 31, 16, 17, 72], ["+", 0, 16, 12, 23, 0, 16, 31, 16, 12, 22], ["-",... | 3 | 76 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
System.out.println(a * b + "" + (2 * a + 2 * b));
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
System.out.println(a * b + " " + (2 * a + 2 * b));
}
} | [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 77 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int s = a * b;
int l = 2 * (a + b);
System.out.println(s + "" + l);
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int s = a * b;
int l = 2 * (a + b);
System.out.println(s + " " + l);
}
}
| [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 85 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b);
System.out.println(a + b + a + b);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.print(a * b + " ");
System.out.println(a + b + a + b);
}
} | [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 62], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 491]] | 3 | 79 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b + "" + (a * 2 + b * 2));
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a * b + " " + (a * 2 + b * 2));
}
} | [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 77 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println("" + (a * b) + "" + ((2 * a) + (2 * b)) + "");
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println("" + (a * b) + " " + ((2 * a) + (2 * b)) + "");
}
} | [["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 491]] | 3 | 89 |
import java.util.Scanner;
class Main {
public static int area(int x, int y) { return x * y; }
public static int perimeter(int x, int y) { return x + x + y + y; }
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.nextInt();
int q = scanner.nextInt();
... | import java.util.Scanner;
class Main {
public static int area(int x, int y) { return x * y; }
public static int perimeter(int x, int y) { return x + x + y + y; }
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.nextInt();
int q = scanner.nextInt();
... | [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["-", 3, 4, 0, 16, 31, 16, 31, 492, 141, 22], ["+", 3, 4, 0, 16, 31, 16, 31, 492, 141, 22], ["-", 0, 492, 3, 4, 0, 16, 12, 492, 141, 22], ["+", 0, 492, 3, 4, 0, 16, 12, 492, 141, 22]] | 3 | 117 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int x = in.nextInt();
int y = in.nextInt();
System.out.println((x * y) + " " + (2 * x) + (2 * y));
// System.out.println((2*x)+(2*y));
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int x = in.nextInt();
int y = in.nextInt();
System.out.println((x * y) + " " + ((2 * x) + (2 * y)));
// System.out.println((2*x)+(2*y));
}
}
| [["+", 0, 16, 12, 23, 0, 16, 31, 23, 0, 24], ["+", 0, 16, 12, 23, 0, 16, 12, 23, 0, 25]] | 3 | 83 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c, d;
c = a * b;
d = 2 * (a + b);
System.out.println(c + "" + d);
scan.close();
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c, d;
c = a * b;
d = 2 * (a + b);
System.out.println(c + " " + d);
scan.close();
}
}
| [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 94 |
import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
System.out.println(a * b);
System.out.println((a + b) * 2);
scanner.close();
}
}
| import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
System.out.print(a * b + " ");
System.out.println((a + b) * 2);
scanner.close();
}
}
| [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 62], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 491]] | 3 | 84 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a, b;
a = sc.nextInt();
b = sc.nextInt();
System.out.println((a * b) + "" + (2 * a + 2 * b));
sc.close();
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a, b;
a = sc.nextInt();
b = sc.nextInt();
System.out.println((a * b) + " " + (2 * a + 2 * b));
sc.close();
}
}
| [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 88 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int area = a * b;
int length = (a + b) * 2;
System.out.println(area + "" + length);
sc.close();
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int area = a * b;
int length = (a + b) * 2;
System.out.println(area + " " + length);
sc.close();
}
}
| [["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 91 |
import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
System.out.print((a * b) + " ");
System.out.println(2 * (a * b));
}
}
| import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
System.out.print((a * b) + " ");
System.out.println(2 * (a + b));
}
}
| [["-", 3, 4, 0, 16, 12, 23, 0, 16, 17, 48], ["+", 3, 4, 0, 16, 12, 23, 0, 16, 17, 72]] | 3 | 84 |
#include <stdio.h>
int main(void) {
int a, b, mennseki, nagasa;
scanf("%d", &a);
scanf("%d", &b);
mennseki = a * b;
printf("%d\n", mennseki);
nagasa = (2 * a) + (2 * b);
printf("%d\n", nagasa);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b, mennseki, nagasa;
scanf("%d", &a);
scanf("%d", &b);
mennseki = a * b;
printf("%d ", mennseki);
nagasa = (2 * a) + (2 * b);
printf("%d\n", nagasa);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 81 |
#include <stdio.h>
int main(void) {
// Your code here!
int a, b;
scanf("%d", &a);
printf("%d %d\n", a * b, a * 2 + b * 2);
return 0;
}
| #include <stdio.h>
int main(void) {
// Your code here!
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d\n", a * b, a * 2 + b * 2);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 66, 28, 22]] | 0 | 48 |
#include <stdio.h>
int main(void) {
// Your code here!
int n, m;
scanf("%d %d", &n, &m);
printf("%d %d\n", n * m, n + m * 2);
return 0;
}
| #include <stdio.h>
int main(void) {
// Your code here!
int n, m;
scanf("%d %d", &n, &m);
printf("%d %d\n", n * m, n + m + n + m);
return 0;
}
| [["-", 0, 2, 3, 4, 0, 16, 12, 16, 17, 48], ["-", 0, 2, 3, 4, 0, 16, 12, 16, 12, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 72], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 22]] | 0 | 49 |
#include <stdio.h>
int main(void) {
int a, A, s, l;
scanf("%d %d", &a, &A);
s = a * A;
l = 2 * a + 2 * A;
printf("%d %d\n", a, A);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, A, s, l;
scanf("%d %d", &a, &A);
s = a * A;
l = 2 * a + 2 * A;
printf("%d %d\n", s, l);
return 0;
}
| [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 0 | 62 |
#include <stdio.h>
main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d\n", a * b, 2 * (a * b));
return 0;
}
| #include <stdio.h>
int main() {
int a, b;
scanf("%d%d", &a, &b);
printf("%d %d\n", a * b, 2 * (a + b));
return 0;
}
| [["+", 36, 36, 36, 36, 0, 30, 0, 14, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 25, 0, 35], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 3, 4, 0, 16, 12, 23, 0, 16, 17, 48], ["+", 3, 4, 0, 16, 12, 23, 0, 16, 17, 72]] | 0 | 49 |
#include <stdio.h>
int main() {
int a, b, area, p;
scanf("%d", &a);
scanf("%d", &b);
area = a * b;
p = (2 * (a + b));
printf("%d", area);
printf("%d\n", p);
return 0;
}
| #include <stdio.h>
int main() {
int a, b, area, p;
scanf("%d ", &a);
scanf("%d", &b);
area = a * b;
p = (2 * (a + b));
printf("%d ", area);
printf("%d\n", p);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 77 |
#include <stdio.h>
int main() {
int a, b, c, d;
scanf("%d", &a);
scanf("%d", &b);
c = a * b;
d = a * 2 + b * 2;
printf("%d\n", c);
printf("%d\n", d);
return 0;
}
| #include <stdio.h>
int main() {
int a, b, c, d;
scanf("%d", &a);
scanf("%d", &b);
c = a * b;
d = a * 2 + b * 2;
printf("%d ", c);
printf("%d\n", d);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 76 |
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d\n", (a + b) * 2);
return 0;
}
|
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d\n", a * b, (a + b) * 2);
return 0;
}
| [["+", 0, 1, 0, 2, 3, 4, 0, 16, 31, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21]] | 0 | 45 |
#include <stdio.h>
int main() {
int a, b;
double area = 0, perimeter = 0;
scanf("%d %d\n", &a, &b);
fflush(stdin);
area = a * b;
perimeter = 2 * (a + b);
printf("%2d %2d", area, perimeter);
}
| #include <stdio.h>
int main() {
int a, b;
int area = 0, perimeter = 0;
scanf("%d %d", &a, &b);
fflush(stdin);
area = a * b;
perimeter = 2 * (a + b);
printf("%d %d\n", area, perimeter);
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 68 |
#include <stdio.h>
int main(void) {
int a, b;
int menseki, nagasa;
scanf("%d", &a);
scanf("%d", &b);
menseki = a * b;
nagasa = 2 * (a + b);
printf("%d %d/n", menseki, nagasa);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b;
int menseki, nagasa;
scanf("%d", &a);
scanf("%d", &b);
menseki = a * b;
nagasa = 2 * (a + b);
printf("%d %d\n", menseki, nagasa);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 69 |
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d", a * b, a * b + 1);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d\n", a * b, 2 * (a + b));
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 31, 13], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 2, 3, 4, 0, 16, 12, 23, 0, 24], ["+", 3, 4, 0, 16, 12, 23, 0, 16, 31, 22], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 3, 4, 0, 16, 12, 23, 0, 16,... | 0 | 47 |
#include <stdio.h>
int main() {
int a, b, m, n;
scanf("%d %d", &a, &b);
m = a * b;
n = (a * b) + 1;
printf("%d %d\n", m, n);
return 0;
} | #include <stdio.h>
int main() {
int a, b, m, n;
scanf("%d %d", &a, &b);
m = a * b;
n = a * 2 + b * 2;
printf("%d %d\n", m, n);
return 0;
} | [["-", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["-", 0, 11, 12, 16, 31, 23, 0, 16, 12, 22], ["-", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 17, 48], ["+", 0, 1, 0,... | 0 | 61 |
#include <stdio.h>
int main() {
int i1, i2;
scanf("%d %d", &i1, &i2);
printf("%d %d\n", i1 * i2, 2 * (i1 * i2));
return (0);
} | #include <stdio.h>
int main() {
int i1, i2;
scanf("%d %d", &i1, &i2);
printf("%d %d\n", i1 * i2, 2 * (i1 + i2));
return (0);
} | [["-", 3, 4, 0, 16, 12, 23, 0, 16, 17, 48], ["+", 3, 4, 0, 16, 12, 23, 0, 16, 17, 72]] | 0 | 51 |
#include <stdio.h>
int main(void) {
int width, height;
scanf("%d %d", &width, &height);
printf("%d %d\n", width * height, width + height);
return 0;
}
| #include <stdio.h>
int main(void) {
int width, height;
scanf("%d %d", &width, &height);
printf("%d %d\n", width * height, (width + height) * 2);
return 0;
}
| [["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 25], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 0 | 46 |
#include <stdio.h>
int main(void) {
int l, w;
scanf("%d", l);
scanf("%d", w);
printf("%d %d\n", l * w, 2 * l + 2 * w);
return 0;
} | #include <stdio.h>
int main(void) {
int l, w;
scanf("%d", &l);
scanf("%d", &w);
printf("%d %d\n", l * w, 2 * l + 2 * w);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 55 |
#include <stdio.h>
int main() {
int m, n, s, l;
scanf("%d %d", &m, &n);
s = m & n;
l = (m + n) * 2;
printf("%d %d\n", s, l);
return 0;
} | #include <stdio.h>
int main() {
int m, n, s, l;
scanf("%d %d", &m, &n);
s = m * n;
l = (m + n) * 2;
printf("%d %d\n", s, l);
return 0;
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 67], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48]] | 0 | 61 |
#include <stdio.h>
int main() {
int i, j;
scanf("%d %d", &i, &j);
printf("%d %d\n", i * j, 2i + 2j);
return 0;
} | #include <stdio.h>
int main() {
int i, j;
scanf("%d %d", &i, &j);
printf("%d %d\n", i * j, 2 * i + 2 * j);
return 0;
} | [["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48], ["+", 0, 2, 3, 4, 0, 16, 12, 16, 17, 48]] | 0 | 47 |
#include <stdio.h>
int main() {
int a, b;
int l, s;
// scanf("%d", &a);
// scanf("%d", &b);
scanf("%d%d", &a, &b);
s = a * b;
l = (2 * a) + (2 * b);
printf("%d, %d\n", s, l);
} | #include <stdio.h>
int main() {
int a, b;
int l, s;
scanf("%d%d", &a, &b);
s = a * b;
l = (2 * a) + (2 * b);
printf("%d %d\n", s, l);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]] | 0 | 65 |
#include <stdio.h>
int main(void) {
int a, b, c, d;
scanf("%d %d", &a, &b);
c = 3 * 5;
d = 3 * 2 + 5 * 2;
printf("%d %d\n", c, d);
return (0);
} | #include <stdio.h>
int main(void) {
int a, b, c, d;
scanf("%d %d", &a, &b);
c = a * b;
d = a * 2 + b * 2;
printf("%d %d\n", c, d);
return (0);
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 11, 12, 16, 12, 16, 31, 13], ["+", 0, 1, 0, 11, ... | 0 | 64 |
#include <stdio.h>
int main(void) {
int x, y, S, L;
scanf("%d %d", &x, &y);
S = x * y;
L = x + y;
printf("%d %d\n", S, L);
return (0);
} | #include <stdio.h>
int main(void) {
int x, y, S, L;
scanf("%d %d", &x, &y);
S = x * y;
L = x + y;
L = 2 * L;
printf("%d %d\n", S, L);
return (0);
} | [["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 0 | 60 |
#include <stdio.h>
main(void) {
int a, b;
scanf("%d", a);
scanf("%d", b);
printf("%d", a * b);
printf(" ");
printf("%d", 2 * a + 2 * b);
return 0;
} | #include <stdio.h>
main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d", a * b);
printf(" ");
printf("%d\n", 2 * a + 2 * b);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 67 |
#include <stdio.h>
main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d", a * b);
printf("%d\n", 2 * a + 2 * b);
return 0;
} | #include <stdio.h>
main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d", a * b);
printf(" ");
printf("%d\n", 2 * a + 2 * b);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 14, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24]] | 0 | 63 |
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d\n", a * b);
printf("%d\n", 2 * (a + b));
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d ", a * b);
printf("%d\n", 2 * (a + b));
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 65 |
/*********************************
*include
*********************************/
#include <stdio.h>
/*********************************
*function prototype
*********************************/
int areaOfRectangle(int hight, int width);
int lengthOfRectangle(int hight, int width);
/*********************************
*f... | /*********************************
*include
*********************************/
#include <stdio.h>
/*********************************
*function prototype
*********************************/
int areaOfRectangle(int hight, int width);
int lengthOfRectangle(int hight, int width);
/*********************************
*f... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 121 |
#include <stdio.h>
int main(void) {
int a;
int b;
int c;
int d;
scanf("%d %d", &a, &b);
c = 2 * a + 2 * b;
d = a * b;
printf("%d %d\n", c, d);
return 0;
} | #include <stdio.h>
int main(void) {
int a;
int b;
int c;
int d;
scanf("%d %d", &a, &b);
c = 2 * a + 2 * b;
d = a * b;
printf("%d %d\n", d, c);
return 0;
} | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 0 | 65 |
#include <stdio.h>
int main(void) {
int a = 0;
int b = 0;
int c = 0, d = 0;
scanf("%d %d", &a, &b);
d = 2 * a + 2 * b;
c = a * b;
printf("%d %d?\n", c, d);
return 0;
} | #include <stdio.h>
int main(void) {
int a = 0;
int b = 0;
int c = 0, d = 0;
scanf("%d %d", &a, &b);
d = 2 * a + 2 * b;
c = a * b;
printf("%d %d\n", c, d);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 72 |
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d\n", a * b);
printf("%d\n", (a + b) * 2);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d ", a * b);
printf("%d\n", (a + b) * 2);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 58 |
#include <stdio.h>
int main(void) {
int a, b;
int menseki, syu;
scanf("%d %d", a, b);
menseki = a * b;
syu = a * 2 + b * 2;
printf("%d %d", menseki, syu);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
int menseki, syu;
scanf("%d %d", &a, &b);
menseki = a * b;
syu = a * 2 + b * 2;
printf("%d %d\n", menseki, syu);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 60 |
#include <stdio.h>
int main() {
int a, b;
int area, round;
scanf("%d", &a);
scanf("%d", &b);
area = a * b;
round = (a * 2 + b * 2);
printf("%d %d\n", a, b);
return 0;
} | #include <stdio.h>
int main() {
int a, b;
int area, round;
scanf("%d", &a);
scanf("%d", &b);
area = a * b;
round = (a * 2 + b * 2);
printf("%d %d\n", area, round);
return 0;
} | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 0 | 71 |
#include <stdio.h>
int main() {
int a;
int b;
int c;
int d;
scanf("%d", &a);
scanf("%d", &b);
c = 2 * (a + b);
d = a * b;
printf("%d %d\n", c, d);
return 0;
} | #include <stdio.h>
int main() {
int a;
int b;
int c;
int d;
scanf("%d", &a);
scanf("%d", &b);
c = 2 * (a + b);
d = a * b;
printf("%d %d\n", d, c);
return 0;
} | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 0 | 71 |
#include <stdio.h>
int main() {
int a, ei, b, tr;
scanf("%d", &a);
scanf("%d", &b);
ei = a * b;
tr = a * 2;
b * 2;
printf("%d", ei);
printf(" ");
printf("%d", tr);
printf("\n");
return 0;
} | #include <stdio.h>
int main() {
int a, ei, b, tr;
scanf("%d", &a);
scanf("%d", &b);
ei = a * b;
tr = a * 2 + b * 2;
printf("%d", ei);
printf(" ");
printf("%d", tr);
printf("\n");
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72]] | 0 | 88 |
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d %d\n", a * b, 2 * (2 + b));
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d %d\n", a * b, 2 * (a + b));
return 0;
} | [["-", 3, 4, 0, 16, 12, 23, 0, 16, 31, 13], ["+", 3, 4, 0, 16, 12, 23, 0, 16, 31, 22]] | 0 | 57 |
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d\n", &a, &b);
printf("%d \n", a * b);
printf("%d", a + a + b + b);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d\n", &a, &b);
printf("%d ", a * b);
printf("%d\n", a + a + b + b);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 58 |
#include <stdio.h>
int main(void) {
int a, b, s, l;
scanf("%d %d\n", &a, &b);
s = a * b;
l = (a + b) * 2;
printf("%d &d\n", s, l);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, s, l;
scanf("%d %d\n", &a, &b);
s = a * b;
l = (a + b) * 2;
printf("%d %d\n", s, l);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 63 |
#include "stdio.h"
int main() {
int a, b, result1, result2;
scanf("%d %d", &a, &b);
result1 = 2 * a + 2 * b;
result2 = a * b;
printf("%d %d\n", result1, result2);
return 0;
} | #include "stdio.h"
int main() {
int a, b, result1, result2;
scanf("%d %d", &a, &b);
result1 = 2 * a + 2 * b;
result2 = a * b;
printf("%d %d\n", result2, result1);
return 0;
} | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 0 | 63 |
#include <stdio.h>
int main() {
int a, b, c, d;
scanf("%d %d", &a, &b);
c = a * b;
d = 2 * (a + b);
printf("%d %d\n", &c, &d);
return 0;
} | #include <stdio.h>
int main() {
int a, b, c, d;
scanf("%d %d", &a, &b);
c = a * b;
d = 2 * (a + b);
printf("%d %d\n", c, d);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 63 |
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d%d", &a, &b);
printf("%d\n", a * b);
printf("%d\n", 2 * a + 2 * b);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d%d", &a, &b);
printf("%d ", a * b);
printf("%d\n", 2 * a + 2 * b);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 58 |
#include <stdio.h>
int main(void)
{
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d, %d\n", a * b, 2 * a + 2 * b);
return 0;
} | #include <stdio.h>
int main()
{
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d %d\n", a * b, 2 * a + 2 * b);
return 0;
} | [["-", 0, 14, 49, 53, 54, 55, 0, 56, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 57 |
#include <stdio.h>
int main(void)
{
int a, b, c, d;
scanf("%d", &a);
scanf("%d", &b);
c = a * b;
d = a + b;
printf("%d %d\n", c, d);
return 0;
} | #include <stdio.h>
int main(void)
{
int a, b, c, d;
scanf("%d", &a);
scanf("%d", &b);
c = a * b;
d = 2 * (a + b);
printf("%d %d\n", c, d);
return 0;
} | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 0, 1, 0, 11, 12, 16, 12, 23, 0, 24], ["+", 0, 1, 0, 11, 12, 16, 12, 23, 0, 25]] | 0 | 65 |
#include <stdio.h>
int main(void)
{
int a, b, x, y;
scanf("%d %d", a, b);
x = a * b;
y = 2 * (a + b);
printf("%d %d\n", x, y);
return 0;
}
| #include <stdio.h>
int main(void)
{
int a, b, x, y;
scanf("%d %d", &a, &b);
x = a * b;
y = 2 * (a + b);
printf("%d %d\n", x, y);
return 0;
}
| [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 60 |
#include <stdio.h>
int main(void)
{
int a, b, c, d;
a = 0, b = 0, c = 0, d = 0;
scanf("%d %d\n", a, b);
c = a * b;
d = 2 * a + 2 * b;
printf("%d %d\n", c, d);
return 0;
} | #include <stdio.h>
int main(void)
{
int a, b, c, d;
a = 0, b = 0, c = 0, d = 0;
scanf("%d %d\n", &a, &b);
c = a * b;
d = 2 * a + 2 * b;
printf("%d %d\n", c, d);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 77 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.