/ TYWZ /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:50:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
        for(int j=maxn;j>=a[i].cost;j--)
        ^~~
/in/foo.cc:55:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
          long long ans=0;
          ^~~~
/in/foo.cc:56:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(int i=1;i<=maxn;i++)
      ^~~
/in/foo.cc:60:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    cout<<ans<<endl;
    ^~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 700.0 KiB
#2 Accepted 3ms 696.0 KiB
#3 Accepted 3ms 700.0 KiB
#4 Accepted 2ms 696.0 KiB
#5 Accepted 2ms 704.0 KiB
#6 Accepted 10ms 696.0 KiB
#7 Accepted 65ms 704.0 KiB
#8 Accepted 90ms 688.0 KiB
#9 Accepted 120ms 700.0 KiB
#10 Accepted 111ms 696.0 KiB

信息

递交者
类型
递交
题目
17.10.5 Prob I - Showtime
语言
C++
递交时间
2017-10-05 18:06:01
评测时间
2017-10-05 18:06:01
评测机
分数
100
总耗时
413ms
峰值内存
704.0 KiB