Submission #1370262


Source Code Expand

package java0622;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int h = sc.nextInt();

		System.out.println(((a + b) * h) / 2 == 0);

	}

}

Submission Info

Submission Time
Task A - Trapezoids
User unirita148
Language Java8 (OpenJDK 1.8.0)
Score 0
Code Size 352 Byte
Status RE
Exec Time 79 ms
Memory 21460 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
RE × 2
RE × 7
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
01.txt RE 79 ms 21460 KB
02.txt RE 76 ms 20820 KB
03.txt RE 78 ms 20052 KB
04.txt RE 77 ms 17876 KB
05.txt RE 78 ms 20052 KB
sample_01.txt RE 77 ms 21332 KB
sample_02.txt RE 77 ms 20436 KB