Submission #1370253


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 c = sc.nextInt();

		System.out.println(((a + b) * c) / 2);

	}

}

Submission Info

Submission Time
Task A - Trapezoids
User unirita148
Language Java8 (OpenJDK 1.8.0)
Score 0
Code Size 347 Byte
Status RE
Exec Time 78 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 78 ms 21460 KB
02.txt RE 75 ms 21460 KB
03.txt RE 75 ms 19412 KB
04.txt RE 78 ms 19156 KB
05.txt RE 77 ms 18772 KB
sample_01.txt RE 76 ms 21460 KB
sample_02.txt RE 76 ms 18388 KB