记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:44:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   44 |     for(int i=tmp+1;i<n;i++)//前缀和,绝对操作次数
      |     ^~~
foo.cc:47:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   47 |         long long ans=0;
      |         ^~~~
foo.cc: In function 'int caldiff(int, int)':
foo.cc:28:1: warning: control reaches end of non-void function [-Wreturn-type]
   28 | }
      | ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 332.0 KiB
#2 Accepted 3ms 332.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Wrong Answer Read 81, expect 67. 3ms 412.0 KiB
#5 Accepted 4ms 412.0 KiB
#6 Accepted 3ms 412.0 KiB
#7 Wrong Answer Read 16, expect 25. 3ms 412.0 KiB
#8 Wrong Answer Read 31, expect 44. 3ms 412.0 KiB
#9 Accepted 4ms 412.0 KiB
#10 Accepted 3ms 412.0 KiB
#11 Accepted 4ms 332.0 KiB
#12 Accepted 3ms 412.0 KiB
#13 Accepted 80ms 1.324 MiB
#14 Accepted 87ms 1.398 MiB
#15 Accepted 83ms 1.344 MiB
#16 Accepted 77ms 1.316 MiB
#17 Accepted 90ms 1.363 MiB
#18 Accepted 93ms 1.488 MiB
#19 Accepted 85ms 1.414 MiB
#20 Accepted 93ms 1.461 MiB

信息

递交者
类型
递交
题目
P1558 Problem 8C. 最少操作次数
比赛
2023秋 悬赏令第八周
语言
C++
递交时间
2023-11-26 21:53:46
评测时间
2023-11-28 00:59:32
评测机
分数
85
总耗时
740ms
峰值内存
1.488 MiB