/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bign& operator++(bign&, int)':
/in/foo.cc:258:12: warning: reference to local variable 't' returned [-Wreturn-local-addr]
  258 |     return t;
      |            ^
/in/foo.cc:256:10: note: declared here
  256 |     bign t=a;
      |          ^
/in/foo.cc: In function 'bign& operator--(bign&, int)':
/in/foo.cc:269:12: warning: reference to local variable 't' returned [-Wreturn-local-addr]
  269 |     return t;
      |            ^
/in/foo.cc:267:10: note: declared here
  267 |     bign t=a;
      |          ^
# 状态 耗时 内存占用
#1 Accepted 2ms 636.0 KiB
#2 Accepted 3ms 1.102 MiB
#3 Accepted 2ms 1.07 MiB
#4 Accepted 2ms 1.094 MiB
#5 Accepted 166ms 1.016 MiB
#6 Accepted 2ms 980.0 KiB
#7 Accepted 10ms 980.0 KiB
#8 Accepted 10ms 1.023 MiB
#9 Accepted 121ms 1.168 MiB
#10 Accepted 110ms 968.0 KiB

信息

递交者
类型
递交
题目
P1472 教主的集合序列
语言
C++
递交时间
2026-10-28 21:57:33
评测时间
2026-10-28 21:57:33
评测机
分数
100
总耗时
432ms
峰值内存
1.168 MiB