Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   11 |     for(int i=1;i<=n;i++)
      |     ^~~
/in/foo.cc:13:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   13 |         memset(dp,0x3f,sizeof dp);
      |         ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 1.469 MiB
#2 Accepted 2ms 1.281 MiB
#3 Accepted 2ms 1.457 MiB
#4 Accepted 2ms 1.488 MiB
#5 Accepted 89ms 1.48 MiB
#6 Accepted 89ms 1.484 MiB
#7 Accepted 4ms 1.477 MiB
#8 Accepted 2ms 1.441 MiB
#9 Accepted 2ms 1.246 MiB
#10 Accepted 2ms 1.27 MiB

信息

递交者
类型
递交
题目
P3018 道具商店202512GESP6级T2
语言
C++
递交时间
2026-07-24 11:07:08
评测时间
2026-07-24 11:07:08
评测机
分数
100
总耗时
200ms
峰值内存
1.488 MiB