Submission #1494620
Source Code Expand
n, m = gets.split.map{|i| i.to_i} n = 30.0 * (n % 12) + 30.0 * m / 60.0 m = 6.0 * m #puts(n, m) puts(((n-m).abs > 180.0 ? 360 - (n-m).abs : (n-m).abs)
Submission Info
Submission Time | |
---|---|
Task | B - 時計盤 |
User | otyaduke_117 |
Language | Ruby (2.3.3) |
Score | 0 |
Code Size | 154 Byte |
Status | RE |
Exec Time | 7 ms |
Memory | 1788 KB |
Compile Error
./Main.rb:5: syntax error, unexpected end-of-input, expecting ')' puts(((n-m).abs > 180.0 ? 360 - (n-m).abs : (n-m).abs) ^
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | subtask0_1.txt, subtask0_2.txt, subtask0_3.txt, subtask0_4.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, 30.txt, 4.txt, 5.txt, 6.txt, 7.txt, 8.txt, 9.txt, subtask0_1.txt, subtask0_2.txt, subtask0_3.txt, subtask0_4.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0.txt | RE | 7 ms | 1788 KB |
1.txt | RE | 6 ms | 1788 KB |
10.txt | RE | 6 ms | 1788 KB |
11.txt | RE | 7 ms | 1788 KB |
12.txt | RE | 6 ms | 1788 KB |
13.txt | RE | 7 ms | 1788 KB |
14.txt | RE | 6 ms | 1788 KB |
15.txt | RE | 6 ms | 1788 KB |
16.txt | RE | 7 ms | 1788 KB |
17.txt | RE | 6 ms | 1788 KB |
18.txt | RE | 7 ms | 1788 KB |
19.txt | RE | 6 ms | 1788 KB |
2.txt | RE | 7 ms | 1788 KB |
20.txt | RE | 7 ms | 1788 KB |
21.txt | RE | 6 ms | 1788 KB |
22.txt | RE | 6 ms | 1788 KB |
23.txt | RE | 6 ms | 1788 KB |
24.txt | RE | 6 ms | 1788 KB |
25.txt | RE | 6 ms | 1788 KB |
26.txt | RE | 7 ms | 1788 KB |
27.txt | RE | 7 ms | 1788 KB |
28.txt | RE | 7 ms | 1788 KB |
29.txt | RE | 7 ms | 1788 KB |
3.txt | RE | 6 ms | 1788 KB |
30.txt | RE | 6 ms | 1788 KB |
4.txt | RE | 6 ms | 1788 KB |
5.txt | RE | 6 ms | 1788 KB |
6.txt | RE | 7 ms | 1788 KB |
7.txt | RE | 6 ms | 1788 KB |
8.txt | RE | 6 ms | 1788 KB |
9.txt | RE | 6 ms | 1788 KB |
subtask0_1.txt | RE | 6 ms | 1788 KB |
subtask0_2.txt | RE | 6 ms | 1788 KB |
subtask0_3.txt | RE | 6 ms | 1788 KB |
subtask0_4.txt | RE | 6 ms | 1788 KB |