用户输出
49.0
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#25446 | #1139. ddd和鸽子 | Wrong Answer | 40 | 50 ms | 356 K | C++ 11 / 490 B | Eric | 2020-05-01 22:02:36 |
#include <iostream>
#include <cmath>
#include <cstring>
#include <cstdio>
using namespace std;
int main() {
string s;
cin >> s;
int hour = s[0] - '0';
hour = hour * 10 + s[1] - '0';
int min = s[3] - '0';
min = min * 10 + s[4] - '0';
hour = hour % 12;
float degree1 = hour * 30 + min / 2.0;
float degree2 = min * 6.0;
if (degree1 - degree2 < 0)
printf("%,1f", degree1 - degree2 + 180);
else {
printf("%.1f", degree1 - degree2);
}
return 0;
}
用户输出
%,1f
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
%,1f
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
210.0
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
%,1f
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
%,1f
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
%,1f
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
264.5
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
%,1f
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
297.0
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
%,1f
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
%,1f
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
%,1f
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0