/ XMU_ACM /

记录详情

Accepted

foo.cc: In function 'void print()':
foo.cc:9:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define fn(i,x,y) for(int i=(x),_=(y);i>=_;--i)
                   ^
foo.cc:42:2: note: in expansion of macro 'fn'
  fn(i,la,1)printf("%lld",a[i]);cout<<endl;
  ^~
foo.cc:42:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  fn(i,la,1)printf("%lld",a[i]);cout<<endl;
                                ^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 1ms 384.0 KiB
#7 Accepted 1ms 384.0 KiB
#8 Accepted 1ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1079 最大乘积
比赛
厦大附中模拟赛第五场
语言
C++
递交时间
2021-02-04 15:00:31
评测时间
2021-02-04 15:00:31
评测机
分数
100
总耗时
19ms
峰值内存
384.0 KiB