Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   19 |                 for(int j=p;j<=sum;j++)
      |                 ^~~
/in/foo.cc:24:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   24 |                         if(flag) cout<<ans<<endl;
      |                         ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 484.0 KiB
#2 Accepted 1ms 472.0 KiB
#3 Accepted 2ms 576.0 KiB
#4 Accepted 25ms 2.809 MiB
#5 Accepted 6ms 844.0 KiB
#6 Accepted 12ms 856.0 KiB
#7 Accepted 7ms 716.0 KiB
#8 Accepted 9ms 732.0 KiB
#9 Accepted 81ms 3.512 MiB
#10 Accepted 518ms 9.566 MiB

信息

递交者
类型
递交
题目
P2859 武器购买2024.12GESP7级T1
比赛
2026.7.24高级班练习
语言
C++
递交时间
2026-07-24 11:02:59
评测时间
2026-07-24 11:02:59
评测机
分数
100
总耗时
667ms
峰值内存
9.566 MiB