Submission #1186523
Source Code Expand
import java.util.*; public class Main { static Scanner s = new Scanner(System.in); public static void main(String __[]){ System.out.println((s.nextInt()+s.nextInt())*s.nextInt()/2); } }
Submission Info
Submission Time | |
---|---|
Task | A - Trapezoids |
User | fal_rnd |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 196 Byte |
Status | AC |
Exec Time | 95 ms |
Memory | 21844 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
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 | AC | 94 ms | 21844 KB |
02.txt | AC | 93 ms | 19668 KB |
03.txt | AC | 93 ms | 20692 KB |
04.txt | AC | 95 ms | 20948 KB |
05.txt | AC | 95 ms | 21332 KB |
sample_01.txt | AC | 95 ms | 18888 KB |
sample_02.txt | AC | 95 ms | 21204 KB |