Submission #7047330


Source Code Expand

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		final int xa = sc.nextInt();
		final int ya = sc.nextInt();
		final int xb = sc.nextInt();
		final int yb = sc.nextInt();
		final int xc = sc.nextInt();
		final int yc = sc.nextInt();
		sc.close();

		String strOut = Double.toString(Math.abs((xb-xa)*(yc-ya)-(yb-ya)*(xc-xa))*0.5);
		System.out.println(strOut);
	}
}

Submission Info

Submission Time
Task A - 正直者
User ste234689ado
Language Java8 (OpenJDK 1.8.0)
Score 0
Code Size 463 Byte
Status RE
Exec Time 97 ms
Memory 21972 KB

Judge Result

Set Name all
Score / Max Score 0 / 100
Status
RE × 27
Set Name Test Cases
all 00_sample_01.txt, 00_sample_02.txt, kensho_diff01, kensho_diff02, kensho_diff03, kensho_diff04, kensho_diff05, kensho_min-max01, kensho_min-max02, kensho_min-max03, kensho_min-max04, kensho_min-max05, kensho_min-max06, kensho_min-max07, kensho_min-max08, kensho_min-max09, kensho_min-max10, kensho_rand01, kensho_rand02, kensho_rand03, kensho_rand04, kensho_rand05, kensho_rand06, kensho_rand07, kensho_rand08, kensho_rand09, kensho_rand10
Case Name Status Exec Time Memory
00_sample_01.txt RE 93 ms 19028 KB
00_sample_02.txt RE 92 ms 20052 KB
kensho_diff01 RE 93 ms 21844 KB
kensho_diff02 RE 94 ms 21204 KB
kensho_diff03 RE 94 ms 16980 KB
kensho_diff04 RE 95 ms 19668 KB
kensho_diff05 RE 91 ms 18644 KB
kensho_min-max01 RE 93 ms 21844 KB
kensho_min-max02 RE 93 ms 18900 KB
kensho_min-max03 RE 93 ms 20820 KB
kensho_min-max04 RE 92 ms 20564 KB
kensho_min-max05 RE 97 ms 19924 KB
kensho_min-max06 RE 92 ms 18644 KB
kensho_min-max07 RE 92 ms 20564 KB
kensho_min-max08 RE 92 ms 19284 KB
kensho_min-max09 RE 93 ms 20692 KB
kensho_min-max10 RE 92 ms 21972 KB
kensho_rand01 RE 92 ms 21844 KB
kensho_rand02 RE 92 ms 19796 KB
kensho_rand03 RE 92 ms 20564 KB
kensho_rand04 RE 92 ms 19796 KB
kensho_rand05 RE 94 ms 20688 KB
kensho_rand06 RE 93 ms 20820 KB
kensho_rand07 RE 92 ms 21716 KB
kensho_rand08 RE 93 ms 19796 KB
kensho_rand09 RE 92 ms 17108 KB
kensho_rand10 RE 93 ms 17108 KB