Submission #1366438
Source Code Expand
import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException{ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = 800 * n; int y = (n - n%15) /15; System.out.println((x-y)); } }
Submission Info
Submission Time | |
---|---|
Task | A - Restaurant |
User | unirita150 |
Language | Java8 (OpenJDK 1.8.0) |
Score | 0 |
Code Size | 293 Byte |
Status | WA |
Exec Time | 92 ms |
Memory | 22100 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 00_example_01.txt, 00_example_02.txt |
All | 00_example_01.txt, 00_example_02.txt, 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_example_01.txt | WA | 91 ms | 21844 KB |
00_example_02.txt | WA | 91 ms | 20692 KB |
01.txt | AC | 91 ms | 20692 KB |
02.txt | WA | 92 ms | 20820 KB |
03.txt | WA | 91 ms | 22100 KB |
04.txt | WA | 91 ms | 19028 KB |
05.txt | WA | 91 ms | 18772 KB |
06.txt | WA | 92 ms | 21716 KB |