用户输出
131.0
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#25599 | #1139. ddd和鸽子 | Wrong Answer | 20 | 46 ms | 304 K | C / 354 B | 经济99-刘雨泽 | 2020-05-28 19:09:40 |
#include <stdio.h>
int main() {
int a, b;
float hour, min, tangle;
scanf("%d:%d", &a, &b);
if (a >= 12)
a -= 12;
hour = a * 30 + b * 0.5;
min = b * 6;
if (min > hour)
tangle = min - hour;
else
tangle = hour - min;
if (tangle > 180)
tangle -= 180;
tangle = 180 - tangle; //没搞懂
printf("%.1f", tangle);
return 0;
}
用户输出
131.0
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
19.5
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
28.5
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
66.0
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
61.5
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
28.5
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
25.0
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
171.5
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
130.5
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
146.0
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
36.5
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
169.0
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
174.5
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
179.5
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
0.5
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0