Submission #1216232
Source Code Expand
import java.util.*; class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); double n = sc.nextDouble(); double k = (60 * 18) / (n - 1); System.out.println(k); } }
Submission Info
Submission Time | |
---|---|
Task | A - E869120列車 (E869120 Trains) |
User | kotaro0223 |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 234 Byte |
Status | AC |
Exec Time | 111 ms |
Memory | 23124 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample1.txt, sample2.txt, sample3.txt |
All | in1.txt, in2.txt, in3.txt, in4.txt, in5.txt, in6.txt, in7.txt, in8.txt, sample1.txt, sample2.txt, sample3.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
in1.txt | AC | 96 ms | 21332 KB |
in2.txt | AC | 108 ms | 22612 KB |
in3.txt | AC | 101 ms | 22740 KB |
in4.txt | AC | 110 ms | 23120 KB |
in5.txt | AC | 111 ms | 21204 KB |
in6.txt | AC | 110 ms | 22996 KB |
in7.txt | AC | 108 ms | 20180 KB |
in8.txt | AC | 99 ms | 20308 KB |
sample1.txt | AC | 99 ms | 20180 KB |
sample2.txt | AC | 109 ms | 22612 KB |
sample3.txt | AC | 105 ms | 23124 KB |