Submission
Id | When | Author | Problem | Language | CPU | Memory | Verdict |
---|---|---|---|---|---|---|---|
16859 | 2024-04-19 14:11:32 | dnt | Rectangle Area | Java | 105 ms | 41908 kb | Runtime Error - 2 |
Test Cases
CPU | Memory | Verdict | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 105 ms | 41908 kb | Accepted | ||||||||
2 | 103 ms | 38228 kb | Runtime Error | ||||||||
3 | - | - | Skipped | ||||||||
4 | - | - | Skipped | ||||||||
5 | - | - | Skipped | ||||||||
6 | - | - | Skipped | ||||||||
7 | - | - | Skipped | ||||||||
Source Code
program.java
import java.util.Scanner; public class Main { // Read the height and width from input int height = sc.nextInt(); int width = sc.nextInt(); // Calculate the area int area = height * width; // Print the area } }