Submission #536672
Source Code Expand
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double A = sc.nextInt(); double B = sc.nextInt(); double C = sc.nextInt(); double D = sc.nextInt(); double t = B/A; double a = D/C; if(t > a){ System.out.println("TAKAHASHI"); }else if(t < a){ System.out.println("AOKI"); }else{ System.out.println(a+"DRAW"+t); } } }
Submission Info
Submission Time | |
---|---|
Task | A - 勝率計算 |
User | waio |
Language | Java (OpenJDK 1.7.0) |
Score | 0 |
Code Size | 433 Byte |
Status | WA |
Exec Time | 421 ms |
Memory | 19480 KB |
Judge Result
Set Name | Sample | All | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | subtask0_sample_01.txt, subtask0_sample_02.txt, subtask0_sample_03.txt |
All | 0.txt, 1.txt, 10.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt, 16.txt, 17.txt, 18.txt, 19.txt, 2.txt, 20.txt, 21.txt, 22.txt, 23.txt, 24.txt, 25.txt, 26.txt, 27.txt, 28.txt, 29.txt, 3.txt, 4.txt, 5.txt, 6.txt, 7.txt, 8.txt, 9.txt, subtask0_sample_01.txt, subtask0_sample_02.txt, subtask0_sample_03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0.txt | AC | 402 ms | 19264 KB |
1.txt | AC | 397 ms | 19180 KB |
10.txt | AC | 412 ms | 19200 KB |
11.txt | WA | 407 ms | 19468 KB |
12.txt | AC | 410 ms | 19288 KB |
13.txt | AC | 397 ms | 19244 KB |
14.txt | WA | 409 ms | 19436 KB |
15.txt | AC | 404 ms | 19248 KB |
16.txt | AC | 413 ms | 19276 KB |
17.txt | WA | 414 ms | 19348 KB |
18.txt | AC | 416 ms | 19292 KB |
19.txt | AC | 391 ms | 19232 KB |
2.txt | WA | 403 ms | 19416 KB |
20.txt | WA | 405 ms | 19312 KB |
21.txt | AC | 401 ms | 19272 KB |
22.txt | AC | 403 ms | 19260 KB |
23.txt | WA | 405 ms | 19460 KB |
24.txt | AC | 396 ms | 19280 KB |
25.txt | AC | 393 ms | 19220 KB |
26.txt | WA | 403 ms | 19348 KB |
27.txt | AC | 404 ms | 19324 KB |
28.txt | AC | 393 ms | 19224 KB |
29.txt | WA | 406 ms | 19440 KB |
3.txt | AC | 405 ms | 19264 KB |
4.txt | AC | 421 ms | 19256 KB |
5.txt | WA | 409 ms | 19388 KB |
6.txt | AC | 400 ms | 19240 KB |
7.txt | AC | 401 ms | 19352 KB |
8.txt | WA | 414 ms | 19264 KB |
9.txt | AC | 409 ms | 19288 KB |
subtask0_sample_01.txt | AC | 404 ms | 19288 KB |
subtask0_sample_02.txt | AC | 397 ms | 19196 KB |
subtask0_sample_03.txt | WA | 421 ms | 19480 KB |