Accepted

foo.cc: In function 'int main()':
foo.cc:20:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
       for(int x=i+1;x<=n;x++)
       ^~~
foo.cc:22:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
          cout<<profit<<endl;
          ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 76ms 440.0 KiB
#5 Accepted 279ms 540.0 KiB

信息

递交者
类型
递交
题目
P1324 3-3 炒股发财
比赛
初二国庆庆祝赛
语言
C++
递交时间
2021-10-01 20:21:04
评测时间
2021-10-01 20:21:04
评测机
分数
100
总耗时
363ms
峰值内存
540.0 KiB