记录详情

Accepted

/in/foo.cc: In function 'void zuhe(int, int)':
/in/foo.cc:24:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for (int i=1;i<=c1;i++)
    ^~~
/in/foo.cc:26:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  c[1][0].aa[1]=1;c[1][1].aa[1]=1;
  ^
/in/foo.cc: In function 'void jia(long long int, long long int)':
/in/foo.cc:13:63: warning: iteration 49 invokes undefined behavior [-Waggressive-loop-optimizations]
    c[cc1][cc2].aa[i]+=c[cc1-1][cc2].aa[i]+c[cc1-1][cc2-1].aa[i];
                                                               ^
/in/foo.cc:11:22: note: within this loop
  for (long long i=1;i<=50;i++)
                     ~^~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 468.0 KiB
#2 Accepted 4ms 464.0 KiB
#3 Accepted 4ms 600.0 KiB
#4 Accepted 2ms 208.0 KiB
#5 Accepted 3ms 312.0 KiB
#6 Accepted 1ms 336.0 KiB
#7 Accepted 4ms 452.0 KiB
#8 Accepted 4ms 580.0 KiB
#9 Accepted 5ms 712.0 KiB
#10 Accepted 1ms 336.0 KiB

信息

递交者
类型
递交
题目
分蛋糕
比赛
2019-1-24寒假集训3
语言
C++
递交时间
2019-01-24 10:19:10
评测时间
2019-01-24 10:19:11
评测机
分数
100
总耗时
36ms
峰值内存
712.0 KiB