/ Vijos /

记录详情

Accepted

foo.cc: In function ‘bign& operator++(bign&, int)’:
foo.cc:246:12: warning: reference to local variable ‘t’ returned [-Wreturn-local-addr]
  246 |     return t;
      |            ^
foo.cc:244:10: note: declared here
  244 |     bign t=a;
      |          ^
foo.cc: In function ‘bign& operator--(bign&, int)’:
foo.cc:257:12: warning: reference to local variable ‘t’ returned [-Wreturn-local-addr]
  257 |     return t;
      |            ^
foo.cc:255:10: note: declared here
  255 |     bign t=a;
      |          ^
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 4ms 1.062 MiB
#3 Accepted 4ms 1.023 MiB
#4 Accepted 4ms 1.293 MiB
#5 Accepted 4ms 1.023 MiB
#6 Accepted 17ms 1.25 MiB
#7 Accepted 17ms 1020.0 KiB
#8 Accepted 202ms 1.027 MiB
#9 Accepted 170ms 984.0 KiB
#10 Accepted 171ms 1020.0 KiB

信息

递交者
类型
递交
题目
P1472 教主的集合序列
语言
C++
递交时间
2025-09-10 10:33:22
评测时间
2025-09-10 10:33:22
评测机
分数
100
总耗时
601ms
峰值内存
1.293 MiB