记录详情

Wrong Answer

foo.cc: In function 'int money(int, int, bool, bool, int)':
foo.cc:11:12: warning: comparison of constant '85' with boolean expression is always false [-Wbool-compare]
     if (xb > 85 && xb)sum += 850;
         ~~~^~~~
foo.cc: In function 'int main()':
foo.cc:17:34: warning: unused variable 'ans2' [-Wunused-variable]
     int N, sum=0,mon[101], ans1, ans2,id=0;
                                  ^~~~
foo.cc:28:10: warning: 'mon[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]
     ans1 = mon[0];
     ~~~~~^~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-18T22:13:46.791Z","handle":"2020-07-18T22:13:46.792Z","cache_start":"2020-07-18T22:13:46.799Z","read_cases":"2020-07-18T22:13:46.974Z","judge":"2020-07-18T22:13:46.975Z","done":"2020-07-18T22:13:47.367Z"}
# 状态 耗时 内存占用
#1 Wrong Answer 读取到 TlIYwpIbVnurzacD ,应为 YDCmkIYBPOy 1ms 256.0 KiB
#2 Wrong Answer 读取到 15000 ,应为 15850 1ms 256.0 KiB
#3 Wrong Answer 读取到 XODSnS ,应为 LyFr 1ms 256.0 KiB
#4 Wrong Answer 读取到 311000 ,应为 311200 1ms 256.0 KiB
#5 Wrong Answer 读取到 15000 ,应为 14000 1ms 256.0 KiB
#6 Wrong Answer 读取到 RqhYuUtNieNUnsvhaH ,应为 DGMqW 1ms 256.0 KiB
#7 Wrong Answer 读取到 FNdCECSt ,应为 F 1ms 256.0 KiB
#8 Wrong Answer 读取到 LKmTZKyzAogY ,应为 YBqilxkGZJx 1ms 256.0 KiB
#9 Wrong Answer 读取到 13000 ,应为 12000 1ms 256.0 KiB
#10 Wrong Answer 读取到 15000 ,应为 15850 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1154 谁拿了最多奖学金
语言
C++
递交时间
2020-07-19 06:13:46
评测时间
2020-07-19 06:13:46
评测机
分数
0
总耗时
11ms
峰值内存
256.0 KiB