Submission #535908
Source Code Expand
#include<bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; if(a>=12) a-=12; double e=abs(a*30+b/2-b*6); printf("%.12f¥n",min(e,360-e)); }
Submission Info
Submission Time | |
---|---|
Task | B - 時計盤 |
User | sigma425 |
Language | C++ (GCC 4.9.2) |
Score | 0 |
Code Size | 169 Byte |
Status | WA |
Exec Time | 32 ms |
Memory | 1056 KB |
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 | WA | 28 ms | 1052 KB |
1.txt | WA | 30 ms | 856 KB |
10.txt | WA | 27 ms | 1048 KB |
11.txt | WA | 27 ms | 1044 KB |
12.txt | WA | 31 ms | 852 KB |
13.txt | WA | 31 ms | 1052 KB |
14.txt | WA | 29 ms | 1048 KB |
15.txt | WA | 28 ms | 1044 KB |
16.txt | WA | 29 ms | 1044 KB |
17.txt | WA | 28 ms | 948 KB |
18.txt | WA | 28 ms | 1056 KB |
19.txt | WA | 27 ms | 1056 KB |
2.txt | WA | 31 ms | 1048 KB |
20.txt | WA | 27 ms | 940 KB |
21.txt | WA | 32 ms | 0 KB |
22.txt | WA | 26 ms | 808 KB |
23.txt | WA | 26 ms | 804 KB |
24.txt | WA | 30 ms | 800 KB |
25.txt | WA | 27 ms | 804 KB |
26.txt | WA | 26 ms | 844 KB |
27.txt | WA | 30 ms | 736 KB |
28.txt | WA | 25 ms | 920 KB |
29.txt | WA | 26 ms | 796 KB |
3.txt | WA | 26 ms | 924 KB |
30.txt | WA | 27 ms | 808 KB |
4.txt | WA | 27 ms | 796 KB |
5.txt | WA | 27 ms | 808 KB |
6.txt | WA | 26 ms | 800 KB |
7.txt | WA | 26 ms | 920 KB |
8.txt | WA | 27 ms | 744 KB |
9.txt | WA | 25 ms | 920 KB |
subtask0_1.txt | WA | 26 ms | 792 KB |
subtask0_2.txt | WA | 26 ms | 788 KB |
subtask0_3.txt | WA | 26 ms | 912 KB |
subtask0_4.txt | WA | 26 ms | 800 KB |